Tooling

We make use of the following tools when writing unit tests:

Test Cases

Our main code bases (Djblets and Review Board) have their own base TestCase class that all test suites must inherit from. These provide additional assertion methods, object construction, and testing functionality that will be useful to your tests.

Djblets

When writing a new test suite for Djblets, your class will inherit from djblets.testing.testcases.TestCase (documentation). This is based on Django's own django.test.testcases.TestCase, offering utilities for: