How to run only one test within a multiple test source file?

14 views
Skip to first unread message

Fred Janon

unread,
Jul 3, 2014, 6:27:16 PM7/3/14
to google-ap...@googlegroups.com
I use "goapp test" which runs all the tests in the file. Is there a way to run only selected tests in the file?

Thanks

Fred

Glenn Lewis

unread,
Jul 3, 2014, 6:42:43 PM7/3/14
to Fred Janon, google-appengine-go
goapp help testflag
shows that you can select your tests by regexp with the "-run" flag.
In general, all the Go language suite of tools can give you more information about a command by adding "help" before the command name.
-- Glenn


--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages