Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

run suites in the order they are listed (console runner)

  • Loading branch information...
commit 1b145866fb91f6dee391d5a336b88a50aa20f78b 1 parent ea7baf9
Benjamin Thomas authored
Showing with 6 additions and 5 deletions.
  1. +0 −2  lib/testing.js
  2. +6 −0 lib/web-runner.js
  3. +0 −3  todo.txt
View
2  lib/testing.js
@@ -374,8 +374,6 @@ exports.expandFiles = function(list, suiteNames, cb) {
suiteNames = null;
}
- list.sort();
-
var suites = []
, explicit = []
;
View
6 lib/web-runner.js
@@ -61,6 +61,12 @@ exports.run = function(list, options) {
suites = loaded;
+ suites.sort(function(a, b) {
+ if (a < b) { return -1; }
+ if (a > b) { return 1; }
+ return 0;
+ });
+
for (var i = 0; i < suites.length; i++) {
suites[i].index = i;
suites[i].queuedTestResults = [];
View
3  todo.txt
@@ -12,9 +12,6 @@ async_testing.run:
? Add new flag, which says to run everything in parallel, but if a suite fails
in some way, don't output it's results, instead re-run the suite serially
-Console Runner:
-+ make sure we output suite results in the order they were given to us
-
Web Runner:
+ only show suites that have tests we are running and only show those tests (in <----
the case of the --test-name flag)
Please sign in to comment.
Something went wrong with that request. Please try again.