-
Notifications
You must be signed in to change notification settings - Fork 117
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
Need Help with rerun-fails #385
Comments
Hello! Thank you for the bug report. The only thing I notice from the command you shared is that The Can you share some of the test output? How many tests are failing, and are any failing with a panic? |
Thanks for the response. I just wanted to know if I am doing anything wrong with command that my script generates to run at build environment? gotestsum --rerun-fails --packages="./..." --format testname --junitfile ../../jsonreport.xml -- -coverprofile=../../cover.out -p 7 -timeout 0 |
Can you try with adding the If you can share some output of the test run that may help us debug, but from what you've shared I don't see anything that would prevent the re-runs. |
Thanks for the quick response, dnephin |
Ah, yes there is a way to make that work. See #274 (comment), and this demo repo: https://github.com/neiser/gotestsum-rerun-dependent-subtests |
Thanks for sharing. I am closing this issue and also apologise that i bothered you with too much questions and so kind of you to answer them. |
thanks for gotestsum package
We use below command on our Build but rerun didn't worked as expected.
gotestsum --rerun-fails --packages="./..." --format testname --junitfile ../../jsonreport.xml -- -coverprofile=../../cover.out ./... -p 7 -timeout 0
Is it because of using -p flag for parallel testcases? Any test case which failed only ran once and not twice as expected!
The text was updated successfully, but these errors were encountered: