xmpp.chapril.org-conversejs/docs/source/testing.rst
2020-04-27 18:31:29 +02:00

20 lines
542 B
ReStructuredText

Automated tests
===============
Converse uses the `Jasmine <https://jasmine.github.io/>`_ testing framework for
writing tests.
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.