Overview

Testing

  • Postman tests
  • Mocha tests

Postman tests#

Postman is a scalable API testing tool, used mainly for debugging and manual testing during development. The collection lives at:

cboard-api/test/postman

Import the collection file into Postman to get a full list of requests and tests you can run against a deployed and configured Cboard API instance.

Mocha tests#

Mocha is a JavaScript test framework for Node.js that supports asynchronous testing. A set of Mocha suites runs automatically on every pull request to verify all API calls are functional and catch regressions.

Run them locally with:

npm test

Updated

Was this page helpful?