You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-18Lines changed: 10 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -113,24 +113,16 @@ as expected.
113
113
114
114
## Testing
115
115
116
-
There are three different test suites which can be run locally:
117
-
118
-
* Unit tests
119
-
* Run: `yarn test --full`
120
-
* Debug: `yarn debug:test --full`
121
-
* Large tests
122
-
* Run: `yarn test-large --full`
123
-
* Debug: `yarn debug:test-large --full`
124
-
* End to end tests
125
-
* Run: `node tests/legacy-cli/run_e2e.js`
126
-
* Run subset of tests: `node tests/legacy-cli/run_e2e.js tests/legacy-cli/e2e/tests/i18n/ivy-localize-*`
127
-
128
-
When running the debug commands, Node will stop and wait for a debugger to
129
-
attach. You can attach your IDE to the debugger to stop on breakpoints and step through the code. Also see [IDE Specific Usage](#ide-specific-usage) for a
130
-
simpler debug story.
131
-
132
-
When debugging a specific test, change `describe()` or `it()` to `fdescribe()`
133
-
and `fit()` to focus execution to just that one test. This will keep the output clean and speed up execution by not running irrelevant tests.
116
+
To test a single package use the full Bazel target example:
117
+
118
+
`yarn bazel test //packages/schematics/angular:angular_test`
119
+
120
+
For a a complete list of test targets use the below Bazel query:
121
+
122
+
`yarn bazel query "tests(//packages/...)"`
123
+
124
+
> You can find more info about debugging [tests with Bazel in the docs.](https://github.com/angular/angular-cli/blob/master/docs/process/bazel.md#debugging-jasmine_node_test)
0 commit comments