forked from zhurui/management
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
|
## Submitting bugs
|
||
|
Please include the following information to help us reproduce and fix:
|
||
|
|
||
|
* What you did
|
||
|
* What you expected to happen
|
||
|
* What actually happened
|
||
|
* Browser and version
|
||
|
* Example code that reproduces the problem (if possible)
|
||
|
* *(l33t mode)* A failing test
|
||
|
|
||
|
## Making contributions
|
||
|
Want to be listed as a *Contributor*? Make a pull request with:
|
||
|
|
||
|
* Unit and/or functional tests that validate changes you're making.
|
||
|
* Run unit tests in the latest IE, Firefox, Chrome, Safari and Opera and make sure they pass.
|
||
|
* Rebase your changes onto origin/HEAD if you can do so cleanly.
|
||
|
* If submitting additional functionality, provide an example of how to use it.
|
||
|
* Please keep code style consistent with surrounding code.
|
||
|
|
||
|
## Dev Setup
|
||
|
* Make sure you have [NodeJS v0.10](http://nodejs.org/) installed
|
||
|
* Run `npm install` from the project directory
|
||
|
|
||
|
## Testing
|
||
|
* (Local) Run `gulp test`. Make sure [Karma Local Config](karma.conf.js) has the browsers you want.
|
||
|
* (Any browser, remotely) If you have a [Sauce Labs](https://saucelabs.com) account, you can run `gulp test-ci`.
|
||
|
Make sure the target browser is enabled in [Karma CI Config](karma.conf.ci.js).
|
||
|
Otherwise, Travis will run all browsers if you submit a Pull Request.
|