Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not print when the case success #3

Closed
jianfengye opened this issue Jun 21, 2012 · 1 comment
Closed

can not print when the case success #3

jianfengye opened this issue Jun 21, 2012 · 1 comment

Comments

@jianfengye
Copy link

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?

@jianfengye
Copy link
Author

i found the solution:
use go test tester -v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant