Please read these guidelines before opening an issue. If you still need to open an issue then we ask that you complete the template as fully as possible.
We welcome pull requests, but ask contributors to keep in mind the following:
- Only PRs with the template completed will be accepted
- We will not accept PRs for user specific functionality
In order for us to accept pull-requests, the contributor must sign-off a Developer Certificate of Origin (DCO). This clarifies the intellectual property license granted with any contribution. It is for your protection as a Contributor as well as the protection of IBM and its customers; it does not change your rights to use your own Contributions for any other purpose.
Please read the agreement and acknowledge it by ticking the appropriate box in the PR text, for example:
- Tick to sign-off your agreement to the Developer Certificate of Origin (DCO) 1.1
Node.js and npm, other dependencies will be installed automatically via npm
and the package.json
dependencies
and devDependencies
.
To run tests:
npm test
To run tests with a real, instead of mock, server then use the environment
variable NOCK_OFF=true
.
You can add verbose debug messages while running tests by doing:
DEBUG=* npm test
When testing with a real server (i.e. NOCK_OFF=true
) these options are
available to set as environment variables:
cloudant_username
- username
cloudant_password
- password
SERVER_URL
- the URL to use (defaults to https://$cloudant_user.cloudant.com
)