Revert "build: switch example e2e tests to bazel (#28402)" (#28438)

This reverts commit ef78e33560.

PR Close #28438
This commit is contained in:
Jason Aden
2019-01-29 15:39:00 -08:00
parent cbed4851a3
commit ea2a3f8335
103 changed files with 415 additions and 897 deletions

View File

@ -7,15 +7,28 @@ behavior) just like an Angular application developer would write.
# Running the examples
```
# Serving individual examples (e.g. common)
yarn bazel run //packages/examples/common:devserver
# # execute the following command only when framework code changes
./build.sh
# "core" examples
yarn bazel run //packages/examples/core:devserver
# run when test change
./packages/examples/build.sh
# start server
$(npm bin)/gulp serve-examples
```
navigate to [http://localhost:8001](http://localhost:8001)
# Running the tests
```
yarn bazel test //packages/examples/...
```
# run only when framework code changes
./build.sh
# run to compile tests and run them
./packages/examples/test.sh
```
NOTE: sometimes the http server does not exit properly and it retains the `8001` port.
in such a case you can use `lsof -i:8001` to see which process it is and then use `kill`
to remove it. (Or in single command: `lsof -i:8001 -t | xargs kill`)