Update documentation

pull/579/head
Esdras Beleza de Noronha 2020-03-03 22:42:16 +00:00 committed by Boyan Soubachov
parent e8910bb335
commit fdf3f01101
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ type AfterTest interface {
AfterTest(suiteName, testName string)
}
// WithStats is a suite which measures some stats for its tests.
// WithStats implements HandleStats, a function that will be executed
// when a test suite is finished. The stats contain information about
// the execution of that suite and its tests.
type WithStats interface {
HandleStats(suiteName string, stats *SuiteInformation)
}