Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

This is an example Angular project with some E2E tests based on Protractor. It shows how to use the Teamscale JavaScript profiler.

Notifications You must be signed in to change notification settings

cqse/javascript-profiler-angular-example

Repository files navigation

JavaScript Profiler Example

This is an example Angular project with some E2E tests based on Protractor. It shows how to use the Teamscale JavaScript profiler.

Running E2E tests with coverage recording

  1. Run npm ci to install dependencies.
  2. Launch the collector: npm run collector
  3. While the collector is running, start another terminal and run the E2E tests with coverage recording enabled: ./e2e-coverage.sh
  4. 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:

About

This is an example Angular project with some E2E tests based on Protractor. It shows how to use the Teamscale JavaScript profiler.

Resources

Stars

Watchers

Forks