You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I would like to be able to selectively run tests, so I do not test code I did not modify.
As a developer, I would like to be able to selectively run tests, so I do not need to install tools I do not normally use (BZR, SVN, et al) just so I can get tests to pass when testing locally.
AC: "+build" tags added to *_test.go files, and CI config files to test all by default.
The text was updated successfully, but these errors were encountered:
m0j0hn
changed the title
Add +build tags to tests, to allow selectively running suites for different VCSs
VCS-74: Add +build tags to tests, to allow selectively running suites for different VCSs
Apr 17, 2017
yes, that is correct -
this SO article is my reference on this: http://stackoverflow.com/questions/24030059/skip-some-tests-with-go-test
I'm not totally happy that it "does nothing by default", but the alternative seems to be adding "!nameX" to every "*_test.go" that is not "nameX_test.go", which gets really bad when adding new "nameX" modules, for new values X - if that makes sense.
As a developer, I would like to be able to selectively run tests, so I do not test code I did not modify.
As a developer, I would like to be able to selectively run tests, so I do not need to install tools I do not normally use (BZR, SVN, et al) just so I can get tests to pass when testing locally.
AC: "+build" tags added to *_test.go files, and CI config files to test all by default.
The text was updated successfully, but these errors were encountered: