Skip to content

[Test suite enhancement] Extend npm test with an arg filter tests  #206

Closed

Description

@dcworldwide

I think the npm test script needs to take an argument that allows us to limit testing to a particular test case. This is useful for testing a specific issue

Activity

  1. pleerock commented on Jan 15, 2017

    @pleerock
    Member

    you can submit a PR if you really need this feature. However I think the easiest way to run particular test is to temporary change code from describe("...") to describe.only("..."), or it("...") to it.only("..."). Same technique can be used to skip something e.g. it.skip. This is much convenient then cli arguments IMHO.

  2. dcworldwide commented on Jan 15, 2017

    @dcworldwide
    ContributorAuthor

    OK that works. Will run with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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