Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (31 sloc) 1.377 kb

Bookie Tests

Running Tests

Running the test suite for Bookie is very simple:

$ make test
$ make jstest

Test Types

Unit Tests

Unit tests are small tests that should test small bits of code. These should be setup in the same directory that the file you're testing is setup. So if you're working on a file in lib/ you'd have a matching file This file should be runnable via the test runner by itself.

Functional Tests

Functional tests are larger scope tests that make sure the application is responding correctly as a whole. These are run through the fabric command fab test. It will run all tests defined in the tests directory.

Note: All unit tests should be added to the tests/ so that they get run during the large test run. This way the ci server will just need to run the one test pass and all tests will run during each build.

Testing Docs

A bit confusing. There's lots of docs, but none of them seem to agree on how to bootstrap the environment properly.

Jump to Line
Something went wrong with that request. Please try again.