☰
Index
Modules:
unittest2
.
API symbols
abortOnError:
unittest2: var abortOnError
addOutputFormatter:
unittest2: proc addOutputFormatter(formatter: OutputFormatter)
check:
unittest2: macro check(conditions: untyped): untyped
checkpoint:
unittest2: template checkpoint(msg: string)
COMPACT:
unittest2: OutputLevel.COMPACT
ConsoleOutputFormatter:
unittest2: type ConsoleOutputFormatter
defaultConsoleFormatter:
unittest2: proc defaultConsoleFormatter(): ConsoleOutputFormatter
disableParamFiltering:
unittest2: proc disableParamFiltering()
dualTest:
unittest2: template dualTest(nameParam: string; body: untyped)
expect:
unittest2: macro expect(exceptions: varargs[typed]; body: untyped): untyped
fail:
unittest2: template fail()
FAILED:
unittest2: TestStatus.FAILED
failureOccurred:
unittest2: method failureOccurred(formatter: ConsoleOutputFormatter; checkpoints: seq[string]; stackTrace: string)
unittest2: method failureOccurred(formatter: JUnitOutputFormatter; checkpoints: seq[string]; stackTrace: string)
unittest2: method failureOccurred(formatter: OutputFormatter; checkpoints: seq[string]; stackTrace: string)
FAILURES:
unittest2: OutputLevel.FAILURES
JUnitOutputFormatter:
unittest2: type JUnitOutputFormatter
newConsoleOutputFormatter:
unittest2: proc newConsoleOutputFormatter(outputLevel: OutputLevel = outputLevelDefault; colorOutput = true): ConsoleOutputFormatter
newJUnitOutputFormatter:
unittest2: proc newJUnitOutputFormatter(stream: Stream): JUnitOutputFormatter
NONE:
unittest2: OutputLevel.NONE
OK:
unittest2: TestStatus.OK
OutputFormatter:
unittest2: type OutputFormatter
OutputLevel:
unittest2: enum OutputLevel
parseParameters:
unittest2: proc parseParameters(args: openArray[string])
require:
unittest2: template require(conditions: untyped)
resetOutputFormatters:
unittest2: proc resetOutputFormatters()
runtimeTest:
unittest2: template runtimeTest(nameParam: string; body: untyped)
skip:
unittest2: template skip()
SKIPPED:
unittest2: TestStatus.SKIPPED
staticTest:
unittest2: template staticTest(nameParam: string; body: untyped)
suite:
unittest2: template suite(nameParam: string; body: untyped)
suiteEnded:
unittest2: method suiteEnded(formatter: ConsoleOutputFormatter)
unittest2: method suiteEnded(formatter: JUnitOutputFormatter)
unittest2: method suiteEnded(formatter: OutputFormatter)
suiteStarted:
unittest2: method suiteStarted(formatter: ConsoleOutputFormatter; suiteName: string)
unittest2: method suiteStarted(formatter: JUnitOutputFormatter; suiteName: string)
unittest2: method suiteStarted(formatter: OutputFormatter; suiteName: string)
test:
unittest2: template test(nameParam: string; body: untyped)
testEnded:
unittest2: method testEnded(formatter: ConsoleOutputFormatter; testResult: TestResult)
unittest2: method testEnded(formatter: JUnitOutputFormatter; testResult: TestResult)
unittest2: method testEnded(formatter: OutputFormatter; testResult: TestResult)
TestResult:
unittest2: object TestResult
testRunEnded:
unittest2: method testRunEnded(formatter: ConsoleOutputFormatter)
unittest2: method testRunEnded(formatter: JUnitOutputFormatter)
unittest2: method testRunEnded(formatter: OutputFormatter)
testStarted:
unittest2: method testStarted(formatter: ConsoleOutputFormatter; testName: string)
unittest2: method testStarted(formatter: JUnitOutputFormatter; testName: string)
unittest2: method testStarted(formatter: OutputFormatter; testName: string)
TestStatus:
unittest2: enum TestStatus
unittest2ListTests:
unittest2: const unittest2ListTests
unittest2Static:
unittest2: const unittest2Static
VERBOSE:
unittest2: OutputLevel.VERBOSE