unit_threaded

Undocumented in source.

Modules

asserts
module unit_threaded.asserts
Undocumented in source.
attrs
module unit_threaded.attrs
Undocumented in source.
dub
module unit_threaded.dub
Undocumented in source.
factory
module unit_threaded.factory
Undocumented in source.
integration
module unit_threaded.integration

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
module unit_threaded.io

IO related functions

light
module unit_threaded.light

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
module unit_threaded.meta
Undocumented in source.
mock
module unit_threaded.mock
Undocumented in source.
options
module unit_threaded.options
Undocumented in source.
property
module unit_threaded.property
Undocumented in source.
randomized
module unit_threaded.randomized
Undocumented in source.
reflection
module unit_threaded.reflection
Undocumented in source.
runner
module unit_threaded.runner

This module implements functions to run the unittests with command-line options.

runtime
module unit_threaded.runtime

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.

should
module unit_threaded.should

This module implements custom assertions via shouldXXX functions that throw exceptions containing information about why the assertion failed.

testcase
module unit_threaded.testcase
Undocumented in source.
tests
module unit_threaded.tests
testsuite
module unit_threaded.testsuite

This module implements TestSuite, an aggregator for TestCase objects to run all tests.

uda
module unit_threaded.uda
Undocumented in source.

Public Imports

unit_threaded.light
public import unit_threaded.light;
Undocumented in source.
unit_threaded.attrs
public import unit_threaded.attrs;
Undocumented in source.
unit_threaded.should
public import unit_threaded.should;
Undocumented in source.
unit_threaded.testcase
public import unit_threaded.testcase;
Undocumented in source.
unit_threaded.io
public import unit_threaded.io;
Undocumented in source.
unit_threaded.reflection
public import unit_threaded.reflection;
Undocumented in source.
unit_threaded.runner
public import unit_threaded.runner;
Undocumented in source.
unit_threaded.integration
public import unit_threaded.integration;
Undocumented in source.
unit_threaded.property
public import unit_threaded.property;
Undocumented in source.
unit_threaded.mock
public import unit_threaded.mock;
Undocumented in source.
unit_threaded.attrs
public import unit_threaded.attrs;
Undocumented in source.

Meta