mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 20:02:40 +08:00
BREAKING CHANGE: The configuration file angular-cli.json has been renamed to .angular-cli.json
968 B
968 B
ng e2e
Overview
ng e2e
serves the application and runs end-to-end tests
Running end-to-end tests
ng e2e
End-to-end tests are run via Protractor.
Options
--config
(-c
) use a specific config file. Defaults to the protractor config file in .angular-cli.json
.
--specs
(-sp
) override specs in the protractor config.
Can send in multiple specs by repeating flag (ng e2e --specs=spec1.ts --specs=spec2.ts
).
--element-explorer
(-ee
) start Protractor's
Element Explorer
for debugging.
--webdriver-update
(-wu
) try to update webdriver.
--serve
(-s
) compile and serve the app.
All non-reload related serve options are also available (e.g. --port=4400
).