-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Doc about skipping some integration tests with '-check.f ConsulCatalogSuite' #418
Doc about skipping some integration tests with '-check.f ConsulCatalogSuite' #418
Conversation
@@ -77,6 +77,11 @@ ok github.com/containous/traefik 0.005s coverage: 4.1% of statements | |||
Test success | |||
``` | |||
|
|||
For dev purpose, you can skip some integration tests by using: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more "you can specifiy which tests to run" instead of skipping 👼
TESTFLAGS="-check.f MyTestSuite.MyTest" make test-integration
MyTest
can even be not the full name, like if if use -check.f MyTestSuite.My
it will run all tests starting by My
😉
755d49e
to
c33736a
Compare
Corrected ;-) 👍 |
For development purpose, you can specifiy which tests to run by using: | ||
``` | ||
# Run every tests in the ConsulCatalog suite | ||
TESTFLAGS="-check.f MyTestSuite" make test-integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hum small nit, but the comment is a little bit wrong 😝 (MySuite
vs ConsulCatalog
suite)
Other than the comment, LGTM 😉 |
c33736a
to
a255ea4
Compare
Oops, sorry, i forgot to rebase. It's alright ;-) |
… of gochecker library
a255ea4
to
46c2184
Compare
LGTM! Thanks @samber 👍 |
No description provided.