Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED]
113
stars
17
forks
source link
can not print when the case success #3
Closed
jianfengye closed 12 years ago
about "Use the -print-all parameter to print a list of all specs: go test -print-all Otherwise only the failing specs are printed"
i find it does not work if i print "go test tester -print-all"
my example like this: package hello
import ( "gospec" "testing" "fmt" )
func TestAllSpecs(t *testing.T) { fmt.Println("testing") r := gospec.NewRunner() r.AddSpec(HelloSpec) gospec.MainGoTest(r, t) }
anything wrong?