Tutorial: 5 - Test the Tester

5 - Test the Tester

It's important to verify that this tool is working as expected.


Run full test suite

Just use this in the command line on the root of the repo:

$ npm test

Approximate run time: 2-3 minutes


Run test suite components

Linter

We use StandardJS to keep things nice and simple.

JavaScript Style Guide

You can run that linter by itself with:

$ npm run-script lint

Unit Tests

Relatively limited set of unit tests so far.

$ npm run-script unit-tests

Single-Browser Integration Test

To make sure all the parts work, there is a built-in, trusted integration test that uses all components, accessible from the terminal:

$ npm run-script integration-test

Approximate run time: 2-3 minutes

Cross-Browser Integration Test, Single Version per Browser

Same as above, except it runs in one version each of the major browsers.

$ npm run-script runner runners/configuration-files/self-tests/integration-test-cross-browser

Approximate run time: 10 minutes

Cross-Browser Integration Test, Several Versions per Browser

Same as above, except it runs in a few version each of the major browsers:

$ npm run-script runner runners/configuration-files/self-tests/integration-test-full-cross-browser

Approximate run time: 35 minutes