SpecProgressReporter

A flavour of the "spec" reporter that show the progress of long tests. This works well with the parallel runner. If you are using the stats reporters, you will see a countdown for how long you need to wait until the test is finished.

Constructors

this
this(StatStorage storage)
Undocumented in source.
this
this(ReportWriter writer, StatStorage storage)
Undocumented in source.

Members

Functions

begin
void begin(ulong )
Undocumented in source. Be warned that the author may not have intended to support it.
begin
void begin(string suite, TestResult test)
Undocumented in source. Be warned that the author may not have intended to support it.
begin
void begin(SuiteResult suite)
Undocumented in source. Be warned that the author may not have intended to support it.
clearProgress
void clearProgress()
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end(SuiteResult[] )
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end(SuiteResult suite)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end(string suite, TestResult test)
Undocumented in source. Be warned that the author may not have intended to support it.
removeCue
void removeCue(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SpecReporter

Type
enum Type
Undocumented in source.
failedTests
int failedTests;
Undocumented in source.
lastSuiteName
string lastSuiteName;
Undocumented in source.
writer
ReportWriter writer;
Undocumented in source.
write
void write(string text, size_t spaces)
Undocumented in source. Be warned that the author may not have intended to support it.
begin
void begin(string suite, TestResult test)
Undocumented in source. Be warned that the author may not have intended to support it.
printSuite
auto printSuite(string suite)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end(string suite, TestResult test)
Undocumented in source. Be warned that the author may not have intended to support it.

From ISuiteLifecycleListener

begin
void begin(SuiteResult )

Called before a suite execution

end
void end(SuiteResult )

Called after a suite execution

From ILifecycleListener

begin
void begin(ulong testCount)

This method is trigered when before the test start

update
void update()

This method is triggered when you can perform some updates. The frequency varries by the test executor that you choose

end
void end(SuiteResult[] )

This method is trigered when your tests are ended

Meta