smartystreets / goconvey

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
http://smartystreets.github.io/goconvey/
Other
8.25k stars 555 forks source link

tags? #390

Open neumachen opened 8 years ago

neumachen commented 8 years ago

Can you add the ability to sets the tags for go test tags=foo?

Thanks.

mdwhatcott commented 8 years ago

Have you tried setting them in a .goconvey file?

https://github.com/smartystreets/goconvey/wiki/Profiles

I'm not sure if it would work, but it's worth a try.

ruzz311 commented 8 years ago

@magicalbanana - did you get to look into profiles? You should be able to set any go test -tags=... you would need (and more cool features too). Can I close this issue?

dlogvinenko commented 8 years ago

@magicalbanana any update?

strowk commented 4 years ago

I've just tried creating integration.goconvey with

-tags=integration

while my test starts from // +build integration It works! Convey runs the test, while plain go test does not, which is what was the goal at least for me, when I found this issue.