Skip to content

Testing Strategy

Chad Adams edited this page Oct 10, 2016 · 1 revision

Strategy

Automated integration tests have been created to test the application end-to-end. They require a running Mongo DB, but will operate on a separate database instance than the production database so they won't interfere with any real data. The URL for the database is set in config/test.json

The server is started by app_starter.js. The test database is dropped before each test case to ensure a clean run with no stale data.

How to run tests

  1. Start Mongo DB
  2. npm test
Clone this wiki locally