Exemple #1
0
func BuildStoryReporter() Reporter {
	out := printing.NewPrinter(printing.NewConsole())
	return NewReporters(
		NewGoTestReporter(),
		NewStoryReporter(out),
		NewProblemReporter(out),
		NewStatisticsReporter(out))
}
Exemple #2
0
func BuildJsonReporter() Reporter {
	out := printing.NewPrinter(printing.NewConsole())
	return NewReporters(
		NewGoTestReporter(),
		NewJsonReporter(out))
}