Advanced testing library for D. Please consult the documentation in the different modules.
Custom assertions for testing unit-threaded itself, not intended for the end-user.
UDAs for decorating tests.
Code to parse the output from dub describe and generate the main test file automatically.
Creates test cases from compile-time information.
Eliminate top-level imports.
This module implements functionality helpful for writing integration tests as opposed to the unit variety where unit-tests are defined as not having global side-effects. In constrast, this module implements assertions that check for global side-effects such as writing to the file system.
IO related functions
This module is an attempt to alleviate compile times by including the bare minimum. The idea is that while the reporting usually done by unit-threaded is welcome, it only really matters when tests fail. Otherwise, no news is good news.
Meta-programming helper functions.
Support the automatic implementation of test doubles via programmable mocks.
Compile-time reflection to find unit tests and set their properties.
This module implements functions to run the unittests with command-line options.
This module implements a template mixin containing a program to search a list of directories for all .d files therein, then writes a D program to run all unit tests in those files using unit_threaded. The program implemented by this mixin only writes out a D file that itself must be compiled and run.
This module implements custom assertions via shouldXXX functions that throw exceptions containing information about why the assertion failed.
The different TestCase classes
Modules with tests for testing unit-threaded itself.
This module implements TestSuite, an aggregator for TestCase objects to run all tests.
Helper functions for dealing with UDAs, written before hasUDA and others were added to Phobos.