mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 11:37:38 +08:00
chore(end2end): remove old references to the scenario runner and update to point to protractor
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
@name Developer Guide: E2E Testing
|
||||
@description
|
||||
|
||||
**If you're starting a new Angular project, you may want to look into
|
||||
using {@link https://github.com/angular/protractor Protractor}, as it is going to
|
||||
replace the current method of E2E Testing in the near future.**
|
||||
**Angular Scenario Runner is in maintenance mode - If you're starting a new Angular project,
|
||||
consider using {@link https://github.com/angular/protractor Protractor}.**
|
||||
|
||||
|
||||
|
||||
As applications grow in size and complexity, it becomes unrealistic to rely on manual testing to
|
||||
verify the correctness of new features, catch bugs and notice regressions.
|
||||
|
||||
@@ -135,7 +135,7 @@ made available a local web server based on Node.js.
|
||||
|
||||
## Running the Unit Test Suite
|
||||
|
||||
We write unit and integration tests with Jasmine and execute them with Karma. To run all of the
|
||||
We write unit tests with Jasmine and execute them with Karma. To run all of the
|
||||
tests once on Chrome run:
|
||||
|
||||
```shell
|
||||
@@ -178,11 +178,11 @@ grunt --help
|
||||
|
||||
## Running the End-to-end Test Suite
|
||||
|
||||
Simply run:
|
||||
Angular's end to end tests are run with Protractor. Simply run:
|
||||
|
||||
```shell
|
||||
grunt test:e2e
|
||||
```
|
||||
|
||||
This will start the webserver and run the tests.
|
||||
This will start the webserver and run the tests on Chrome.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user