From 60d99839de7e930301c79b523e481db634baa8b9 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 23 Mar 2018 16:55:32 +0200 Subject: [PATCH] docs: update available platforms for `test.sh` (#22958) PR Close #22958 --- docs/DEVELOPER.md | 3 ++- test.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index 87a63dc532..9c3c69b637 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -97,9 +97,10 @@ To run tests: $ ./test.sh node # Run all angular tests on node $ ./test.sh browser # Run all angular tests in browser + $ ./test.sh browserNoRouter # Optionally run all angular tests without router in browser -$ ./test.sh tools # Run angular tooling (not framework) tests +$ ./test.sh router # Optionally run only the router tests in browser ``` You should execute the 3 test suites before submitting a PR to github. diff --git a/test.sh b/test.sh index 7699a6ee4f..5eb7fa9964 100755 --- a/test.sh +++ b/test.sh @@ -6,8 +6,8 @@ if [ $# -eq 0 ] then echo "Angular test runner. (No platform specified)" echo - echo "./test.sh [node|browser|browserNoRouter|router|tools] [--debug]" - echo "(--debug flag only relevant to 'node' and 'tools' testing - see https://github.com/angular/angular/blob/master/docs/DEBUG.md)" + echo "./test.sh [node|browser|browserNoRouter|router] [--debug]" + echo "(--debug flag only relevant to 'node' testing - see https://github.com/angular/angular/blob/master/docs/DEBUG.md)" echo else cd `dirname $0`