my.test

Members

Functions

dirContentCopy
void dirContentCopy(Path src, Path dst)

Copy the content of srcto dst`.

formatRange
string[] formatRange(string prefix, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
formatValueInItsOwnLine
string[] formatValueInItsOwnLine(string prefix, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
makeTestArea
TestArea makeTestArea(string name, string file)
Undocumented in source. Be warned that the author may not have intended to support it.
regexIn
auto regexIn(string rawRegex, T[] array, string file, size_t line)

Check that rawRegex match at least once for the elements of array.

regexNotIn
auto regexNotIn(string rawRegex, T[] array, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
runClassesAsUnittest
void runClassesAsUnittest()

Execute all classes in the current module as unittests.

Structs

ExecResult
struct ExecResult
Undocumented in source.
TestArea
struct TestArea
Undocumented in source.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This module contains tools for testing where a sandbox is needed for creating temporary files.