-
Notifications
You must be signed in to change notification settings - Fork 35
Run Tests
Jacky Sun edited this page May 30, 2024
·
29 revisions
Options:
-p, --project Specify the project to run tests on, e.g., milo-live-chrome.
-c, --config Specify name of configuration file, e.g., milo.
-g, --grep Filter tests by grep pattern, e.g., '@milo'.
-r, --reporter Specify the reporter to use, e.g., 'html'.
-h, --help Display this help message and exit.
--headed Run tests in headed mode.
--headless Run tests in headless mode (default).
- run uar test on uar-live: node run.js -c uar -g "@uar-quiz-basic-milo" -p uar-live-chrome\
- run uar test on milo-live: node run.js -c uar -g "@uar-quiz-basic-milo" -p milo-live-chrome\
- run milo test on milo-live: node run.js -c milo -g "@milo" -p milo-live-chrome\
- you can also use '=': node run.js -c=milo -g="@milo" -p=milo-live-chrome\
- or long options: node run.js --config=milo --grep="@milo" --project=milo-live-chrome