testing.rst 542 B

12345678910111213141516171819
  1. Automated tests
  2. ===============
  3. Converse uses the `Jasmine <https://jasmine.github.io/>`_ testing framework for
  4. writing tests.
  5. Adding tests for your bugfix or feature
  6. ----------------------------------------
  7. Take a look at `tests/index.html <https://github.com/jcbrand/converse.js/blob/master/tests/index.html>`_
  8. and the `spec files <https://github.com/jcbrand/converse.js/blob/master/spec/>`_
  9. to see how tests are implemented.
  10. Running tests
  11. -------------
  12. Check that all tests complete sucessfully.
  13. Run ``make check`` in your terminal.