2013-03-01 10:10:12 +01:00
|
|
|
===========================
|
|
|
|
Contributing to Converse.js
|
|
|
|
===========================
|
|
|
|
|
2013-04-16 09:43:11 +02:00
|
|
|
Thanks for contributing to Converse.js_!
|
|
|
|
|
|
|
|
Please follow the usual github workflow. Create your own local fork of this repository,
|
|
|
|
make your changes and then submit a pull request.
|
2013-03-01 10:10:12 +01:00
|
|
|
|
|
|
|
Before submitting a pull request
|
|
|
|
================================
|
|
|
|
|
|
|
|
Add tests for your bugfix or feature
|
|
|
|
------------------------------------
|
|
|
|
|
2013-04-16 09:43:11 +02:00
|
|
|
Add a test for any bug fixed or feature added. We use Jasmine
|
|
|
|
for testing. Take a look at tests.html and spec/MainSpec.js to see how
|
|
|
|
tests are implemented.
|
|
|
|
|
|
|
|
You can also see the test output online, here: http://conversejs.org/tests.html
|
2013-03-01 10:10:12 +01:00
|
|
|
|
|
|
|
Check that the tests run
|
|
|
|
------------------------
|
|
|
|
|
2013-04-16 09:43:11 +02:00
|
|
|
Check that the Jasmine BDD tests complete sucessfully. Open tests.html in your
|
|
|
|
browser, and the tests will run automatically.
|
|
|
|
|
|
|
|
.. _Converse.js: http://conversejs.org
|