dunit.framework

Undocumented in source.

Public Imports

std.typetuple
public import std.typetuple;

Members

Classes

DetailReporter
class DetailReporter

Writes a detailed test report.

IssueReporter
class IssueReporter

Writes a "progress bar", followed by the errors and the failures.

ReportReporter
class ReportReporter

Writes a JUnit-style XML test report.

ResultReporter
class ResultReporter

Writes a summary about the tests run.

XmlReporter
class XmlReporter

Writes progressive XML output.

Functions

dunit_main
int dunit_main(string[] args)

Runs the tests according to the command-line arguments.

matches
bool matches(Tag[] tags, string[] choices)
Undocumented in source. Be warned that the author may not have intended to support it.
runTests
void runTests(TestSelection[] testSelections, TestListener[] testListeners)
Undocumented in source.

Interfaces

TestListener
interface TestListener

Registered implementations of this interface will be notified about events that occur during the test run.

Mixin templates

Main
mixintemplate Main()
Undocumented in source.
UnitTest
mixintemplate UnitTest()

Registers a class as a unit test.

Structs

TestClass
struct TestClass
Undocumented in source.
TestSelection
struct TestSelection
Undocumented in source.

Variables

testClasses
TestClass[] testClasses;
Undocumented in source.

Meta