summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/testify/suite/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/stretchr/testify/suite/interfaces.go')
-rw-r--r--vendor/github.com/stretchr/testify/suite/interfaces.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/testify/suite/interfaces.go b/vendor/github.com/stretchr/testify/suite/interfaces.go
index b37cb040..8b98a8af 100644
--- a/vendor/github.com/stretchr/testify/suite/interfaces.go
+++ b/vendor/github.com/stretchr/testify/suite/interfaces.go
@@ -44,3 +44,10 @@ type BeforeTest interface {
type AfterTest interface {
AfterTest(suiteName, testName string)
}
+
+// 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)
+}