1
0
Fork 0
firefox/third_party/webkit/PerformanceTests/Speedometer3/Testing.md
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

988 B

Testing

Speedometer uses Selenium for testing of the application itself. Tests are located in the /tests folder.

Sinon: Standalone test spies, stubs and mocks for JavaScript. Mocha: Testing framework.

Local Testing

To run this locally you'll need the browsers installed along with the corresponding driver:

Once installed you can run the following scripts:

npm run test:chrome
npm run test:firefox
npm run test:safari
npm run test:edge

Automated Testing

Currently Speedometer's tests run automatically, when pushing to the main branch or when opening a pr.