Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests that aren't run via filter are shown as passing #10

Open
invertednz opened this issue Feb 25, 2020 · 0 comments
Open

Tests that aren't run via filter are shown as passing #10

invertednz opened this issue Feb 25, 2020 · 0 comments

Comments

@invertednz
Copy link

jasmine/jasmine#1785

The console shows the tests haven't been run but the xml says they were all executed.

I cloned https://github.com/mikedfunk/jasmine-example
Then I installed jasmine-junit-reporter
When I run jasmine --filter="^add suite should add two numbers$" --reporter=jasmine-junit-reporter then six tests run
When I run jasmine --filter="^add suite should add two numbers$" only one test runs

Expected Behavior
Only one test should run when executing jasmine --filter="^add suite should add two numbers$" --reporter=jasmine-junit-reporter

Current Behavior
Six tests are executed

Suite that reproduces the behavior (for bugs)
I cloned https://github.com/mikedfunk/jasmine-example
Then I installed jasmine-junit-reporter

Context
I'm trying to run a single or set of tests and have a junit output.

Your Environment
Version used: Jasmine 3.5.0
Operating System and version (desktop or mobile): Windows 10
Link to your project:https://github.com/mikedfunk/jasmine-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant