Exemple #1
0
func TestGameHelpersRunner(t *testing.T) {
	prettytest.RunWithFormatter(
		t,
		new(prettytest.TDDFormatter),
		new(testGameHelpersSuite),
	)
}
Exemple #2
0
func TestFoo(t *testing.T) {
	pt.RunWithFormatter(
		t,
		new(pt.TDDFormatter),
		new(testSuite),
	)
}
func TestStdoutPrinterRunner(t *testing.T) {
	prettytest.RunWithFormatter(
		t,
		new(prettytest.TDDFormatter),
		new(testStdoutPrinterSuite),
	)
}
Exemple #4
0
func TestEmulator(t *testing.T) {
	prettytest.RunWithFormatter(
		t,
		&prettytest.BDDFormatter{"The emulator"},
		new(testSuite),
	)
}
func TestTictactoeRulesRunner(t *testing.T) {
	prettytest.RunWithFormatter(
		t,
		new(prettytest.TDDFormatter),
		new(testTictactoeRulesSuite),
	)
}
Exemple #6
0
func TestAiPlayerRunner(t *testing.T) {
	prettytest.RunWithFormatter(
		t,
		new(prettytest.TDDFormatter),
		new(testAiPlayerSuite),
	)
}
func TestRunner(t *testing.T) {
	logger.Level = WARN
	prettytest.RunWithFormatter(
		t,
		new(prettytest.TDDFormatter),
		new(testSuite),
	)
}
func TestRunner(t *testing.T) {
	prettytest.RunWithFormatter(
		t,
		new(prettytest.TDDFormatter),
		new(testSuiteThreadKill),
		new(testSuite),
		new(testSuiteThreadPooler),
	)
}
func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())

	mandala.Verbose = true

	go prettytest.RunWithFormatter(
		t,
		new(mandalatest.TDDFormatter),
		testlib.NewTestSuite(outputPath),
	)
}
Exemple #10
0
func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())

	gorgasm.Verbose = true

	go prettytest.RunWithFormatter(
		t,
		testlib.NewTDDFormatter(),
		testlib.NewTestSuite(),
	)
}