This is an example Angular project with some E2E tests based on Protractor. It shows how to use the Teamscale JavaScript profiler.
- Run
npm ci
to install dependencies. - Launch the collector:
npm run collector
- While the collector is running, start another terminal and run the E2E tests with coverage recording enabled:
./e2e-coverage.sh
- Stop the collector process (
Ctrl-C
).
The test coverage data will be written to ./coverage.simple
.
To learn how everything works, take a look at the changes made to: