Skip to content
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

Possibility to exclude flaky tests from report #226

Open
rigazilla opened this issue Sep 16, 2024 · 3 comments · May be fixed by #238
Open

Possibility to exclude flaky tests from report #226

rigazilla opened this issue Sep 16, 2024 · 3 comments · May be fixed by #238

Comments

@rigazilla
Copy link

We have a separate workflow for handling flaky tests.
Is it possible to exclude them from failure report?

@ghaiszaher
Copy link
Member

ghaiszaher commented Sep 24, 2024

@rigazilla is it possible to exclude them from the original report altogether? For example: https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html#exclusions

@rigazilla
Copy link
Author

Ouch, sorry I miss this. No we can't exclude by name, our flaky tests appear randomly.
At the moment our solution is to cleanup the surefire report before the action, ie:
xmlstarlet ed --inplace -d "//testcase[flakyFailure]" "$f"

@Pierre-Hugues
Copy link

I needed it as well, so I started working on it : #238

@Pierre-Hugues Pierre-Hugues linked a pull request Dec 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants