@@ -11,16 +11,19 @@ Note that this harness requires the normalized test262 format currently proposed
1111### Example
1212Run chapter 8 tests:
1313
14- ` > node bin\run.js ../test262/test/suite/ch08/**/*.js `
14+ ` > test262-harness ../test262/test/suite/ch08/**/*.js `
15+ ` > test262-harness -e jsshell/js -p print ./tests `
16+ ` > test262-harness --prelude promise.js ./tests/es6/ch25/**/*.js `
1517
1618#### Options
1719| Name | Action |
1820| ------------| ---------------|
19- | --runner | Selects a runner to use. Currently available are ` node ` and ` console `
20- | --consoleCommand | For console runner, sets the command to invoke. Must be in PATH.
21- | --consolePrintCommand | For console runner, sets the command to write to console. Used for reporting errors to the harness.
21+ | -r, --runner | Selects a runner to use. Currently available are ` node ` and ` console `
22+ | -e, --consoleCommand | For console runner, sets the command to invoke. Must be in PATH.
23+ | -p, --consolePrintCommand | For console runner, sets the command to write to console. Used for reporting errors to the harness.
24+ | -t, --threads | Run this many tests in parallel.
2225| --testStrict | Tests both strict and non-strict mode (note: many tests need fixing for this to work)
23- | --reporter | Selects test case result format. Currently either ` json ` , ` tap ` , or ` simple ` . Default ` simple ` .
26+ | -R, - -reporter | Selects test case result format. Currently either ` json ` , ` tap ` , or ` simple ` . Default ` simple ` .
2427| --prelude | Appends specified file to the top of each test file.
2528
2629### Pipeline
0 commit comments