mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Log the total number of tests and the random seed in the test runner
This might make debugging intermittent failures a bit easier in the future because it allows us to spot unexpected differences in the number of tests being run and allows us to run the tests locally in the same order in case of intermittent failures.
This commit is contained in:
parent
662ac5548f
commit
b789a0e216
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ var TestReporter = function (browser) {
|
|||
|
||||
this.jasmineStarted = function (suiteInfo) {
|
||||
this.runnerStartTime = this.now();
|
||||
sendInfo("Started tests for " + browser + ".");
|
||||
|
||||
const total = suiteInfo.totalSpecsDefined;
|
||||
const seed = suiteInfo.order.seed;
|
||||
sendInfo(`Started ${total} tests for ${browser} with seed ${seed}.`);
|
||||
};
|
||||
|
||||
this.suiteStarted = function (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue