a9e6d1131a
* README: fix broken links
* fix references to tests.html
The file was moved in e7aed050b4
25 lines
804 B
ReStructuredText
25 lines
804 B
ReStructuredText
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
|
|
----------------------------------------
|
|
|
|
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/>`_
|
|
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 <https://github.com/jcbrand/converse.js/blob/master/tests/index.html>`_ in your browser.
|