Skip to content

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

@invertednz

Description

@invertednz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions