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:
Tim van der Meij 2020-08-01 21:06:42 +02:00
parent 662ac5548f
commit b789a0e216
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

View File

@ -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) {