You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Test suite enhancement] Extend npm test with an arg filter tests #206
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
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.
Activity
pleerock commentedon Jan 15, 2017
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("...")todescribe.only("..."), orit("...")toit.only("..."). Same technique can be used toskipsomething e.g.it.skip. This is much convenient then cli arguments IMHO.dcworldwide commentedon Jan 15, 2017
OK that works. Will run with that.