View definition

func PrintConsoleStatistics

Defined in github.com/smartystreets/goconvey/convey/doc.go

Description

ConsoleStatistics may be called at any time to print assertion statistics. Generally, the best place to do this would be in a TestMain function, after all tests have been run. Something like this:

func TestMain(m *testing.M) {

convey.SuppressConsoleStatistics()
result := m.Run()
convey.PrintConsoleStatistics()
os.Exit(result)

}