Automated tests

Converse uses the Jasmine testing framework for writing tests.

Tests are run in a browser, either manually or automatically via Chrome headless.

Adding tests for your bugfix or feature

Take a look at tests.html and the spec files to see how tests are implemented.

Running tests

Check that all tests complete sucessfully.

Run make check in your terminal.

To run the tests manually, run make serve and then open http://localhost:8000/tests in your browser.