File: CONTRIBUTING.md

package info (click to toggle)
node-when 3.7.8%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 820 kB
  • sloc: javascript: 7,881; makefile: 16; sh: 5
file content (33 lines) | stat: -rw-r--r-- 1,490 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributing

Thank you for helping out with when.js! We really appreciate you investing your time in the project. Below, find information and guides on the best way to contribute.

Opening Issues
--------------

No software is truly without bugs, and if you find one we would love it if you let us know so we can patch it up for you. When opening an issue, make sure to use a clear, short title along with a thorough description of the problem so we can best understand it. It's extremely helpful if you provide concrete steps on how to replicate the issue so that we can isolate it and figure it out more quickly.

Pull Requests
-------------

There's nothing better than a great pull request. To ensure that yours gets accepted as quickly and smoothly as possible, make sure the following steps have been taken:

- Good clean commit messages. [This guide](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) should help.
- A thorough description of what your code does in the description field
- Tests written for any features that have been added.

Running the Tests
-----------------

#### Node

Note that when.js includes the [Promises/A+ Test Suite](https://github.com/promises-aplus/promise-tests).  Running unit tests in Node will run both when.js's own test suite, and the Promises/A+ Test Suite.

1. `npm install`
2. `npm test`

#### Browsers

1. `npm install`
2. `npm run browser-test`
3. Point browsers at <buster server url>, e.g. `http://localhost:8080/`