Running Tests and Contributing
Clone this wiki locally
To start contributing to jquery-ujs, you can follow these steps (assuming you have Ruby installed):
git clone git://github.com/rails/jquery-ujs.git jquery-ujs
- Visit http://localhost:4567 in your browser.
- Click the version links at the top right of the page to run the test suite with the different supported versions of jQuery.
And now we're all on the same page. Here are some additional notes to keep in mind when developing your patch for jquery-ujs.
- The tests can be found in:
|~test |~public |~test
- Some tests ensure consistent behavior across the major browsers, meaning it is possible for tests to pass in Firefox, but fail in Internet Explorer. If possible, it helps if you can run the test suite in multiple browsers before submitting patches.