mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
Couple of changes into angular.scenario runner: - add autotest config (runs tests when document ready) - update ObjectModel (forwards events) - use only one ObjectModel instance for all outputters - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step - fix generating spec.ids - fix 'html' output so that it does not mutate ObjectModel Couple of changes into docs / generator: - rename copy -> copyTpl - move docs/static into docs/examples (to avoid conflict with jstd proxy) Running all docs e2e tests: ======================================================== 1/ compile angular-scenario, jstd-scenario-adapter >> rake compile 2/ build docs >> rake docs 3/ start jstd server >> ./server-scenario.sh 4/ capture some browser 5/ run node server to serve static content >> node ../lib/nodeserver/server.js 6/ run tests >> ./test-scenario.sh
11 lines
235 B
Plaintext
11 lines
235 B
Plaintext
server: http://localhost:9877
|
|
|
|
load:
|
|
- build/angular-scenario.js
|
|
- build/jstd-scenario-adapter-config.js
|
|
- build/jstd-scenario-adapter.js
|
|
- build/docs/docs-scenario.js
|
|
|
|
proxy:
|
|
- {matcher: "*", server: "http://localhost:8000"}
|