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
Qunit version 2.5.0
Env = browser
just loading it in browser
Running in browser:
chrome v62
What are you trying to do?
It would be easy to have a qunit configuration that can skip available test points using test point names
For eg:
QUnit.config.testPointsToSkip = ['hello test', 'test point name 2']
I think you might be able to use QUnit.config.filter to do what you need. QUnit.config.filter accepts a regular expression; you could conceivably do something like this:
Note that this implementation will fail for strings that use regex special characters, so you would want to be sure to escape regex metacharacters in your own strings before setting QUnit.config.filter.
Closing this issue as I believe @platinumazure's solution is appropriate. @muthu90ec if you feel we need an additional API for the use case, then feel free to reopen with some explanation.
Qunit version 2.5.0
Env = browser
just loading it in browser
Running in browser:
chrome v62
What are you trying to do?
It would be easy to have a qunit configuration that can skip available test points using test point names
For eg:
QUnit.config.testPointsToSkip = ['hello test', 'test point name 2']
QUnit.test( "hello test", function( assert ) {
assert.ok( 1 == "1", "Passed!" );
});
This will skip hello test.
The text was updated successfully, but these errors were encountered: