Example #1
0
File: init.go Project: vad/goconvey
func BuildStoryReporter() Reporter {
	out := printing.NewPrinter(printing.NewConsole())
	return NewReporters(
		NewGoTestReporter(),
		NewStoryReporter(out),
		NewProblemReporter(out),
		NewStatisticsReporter(out))
}
Example #2
0
File: init.go Project: vad/goconvey
func BuildJsonReporter() Reporter {
	out := printing.NewPrinter(printing.NewConsole())
	return NewReporters(
		NewGoTestReporter(),
		NewJsonReporter(out))
}