-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
go test -run does not work for a particular test #460
Comments
you need to use -testify.m to specify your test: |
ahh thanks! |
That didn't work for me (also the docs mention -m and not -testify.m; but never mind). Looks like the testify flag is being ignored. |
Just for the record: it works, but the order of the flags is relevant. It did work for me like this:
If I don't specify the package, go test won't find any package when the -testify.m flag is processed. |
close this issue? @eginez |
Is there a way to make goland recognize the individual test methods in a suite as well, so they can be run individually from inside the IDE using the green play button? |
I have a test suite made of a couple of test, I'd like to run only one test with
go test -run regex
but go test is not finding the testThe text was updated successfully, but these errors were encountered: