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
Hi,
I have a use case where I want to print the name of the testfile before and after the test run.
For eg: if I have two test files
testFIle1.js
QUnit.test("point1", function(assert){
assert.ok(true);
});
This isn't currently possible in QUnit because our core API is not in charge of loading the script files. That's handled by either the HTML file (via the browser) or by the CLI runner (via Node.js).
Continuing the conversation at qunitjs/js-reporters#111. In particular I'd like to better understand how this helps you and/or other developers. Note that in the event of an issue, we always render the stack trace which includes the file path or URL to the test suites for easy reference.
Hi,
I have a use case where I want to print the name of the testfile before and after the test run.
For eg: if I have two test files
testFIle1.js
QUnit.test("point1", function(assert){
assert.ok(true);
});
testFile2.js
QUnit.test("point1", function(assert) {
assert.ok(true);
});
when I run qunit.js --reporter=myreporter test*.js ...I want the following printed in the console.
testStart=>filename: testFile1.js
progress: point1 pass
testEnd=>filename: testFile1.js result: pass
testStart=>filename: testFile2.js
progress: point1 pass
testEnd=>filename: testFile2.js result: pass
The text was updated successfully, but these errors were encountered: