remogatto/prettytest

Support for go test -run

mzimmerman opened this issue · 2 comments

I'm using prettytest on AppEngine with appenginetesting It can take 20-30 seconds for my tests to complete, so I'd like to run only the one test that I'm working on at the moment.

Since go test -run runs the TestRunner, prettytest runs all the tests. Is there any way for me to tell prettytest to only run a subset (or one) test?

Like

go test -run TestTrue

Sure, use -pt.run in the same way as you would use the -run flag.

well now I just feel dumb, I missed that somehow, thanks! Just what I was looking for.