2018-09-18 10:53:43 +02:00
Automated tests
===============
Converse uses the `Jasmine <https://jasmine.github.io/> `_ 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
----------------------------------------
2020-04-13 11:27:23 +02:00
Take a look at `tests/index.html <https://github.com/jcbrand/converse.js/blob/master/tests/index.html> `_
and the `spec files <https://github.com/jcbrand/converse.js/blob/master/spec/> `_
2018-09-18 10:53:43 +02:00
to see how tests are implemented.
Running tests
-------------
Check that all tests complete sucessfully.
Run `` make check `` in your terminal.
2020-04-13 11:27:23 +02:00
To run the tests manually, run `` make serve `` and then open `http://localhost:8000/tests <https://github.com/jcbrand/converse.js/blob/master/tests/index.html> `_ in your browser.