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

Failed Test Case Statistics based on Failure Reason #362

Open
gitissuepost opened this issue Nov 6, 2024 · 5 comments
Open

Failed Test Case Statistics based on Failure Reason #362

gitissuepost opened this issue Nov 6, 2024 · 5 comments
Assignees

Comments

@gitissuepost
Copy link

Is your feature request related to a problem? Please describe.
With a large test-suite with a high number of failures, currently it is difficult to prioritize the failed group test cases to increase the execution rate.
E.g. With a report of 300 test failures if 100 gets failed because an element is not accessible due to change is locator, currently there is no option to figure out how many failures fall under what exception reason.

Describe the solution you'd like
Just like we have a All Steps view, if we can get a view for failure reasons, The messages we see in red in below screenshot. It will solve the purpose. This will help the automation team to understand how many failures are intermittent/related to env issues and what all needs an attentions. Out of the failed test cases need to be fixed, they can pick the category with high failure and start working on that. It could be a minor fix which will fix majority of the test failures related to scripting.
image

Describe alternatives you've considered
Currently we are capturing the failures in a json as part of listener and do our analysis on those entries.

@bischoffdev
Copy link
Collaborator

I like this idea a lot, this sounds like a good addition for the next release.

@bischoffdev bischoffdev self-assigned this Nov 6, 2024
@gitissuepost
Copy link
Author

gitissuepost commented Nov 7, 2024

@bischoffdev - I don't see any reference of DaggerClucumberCoreGraph class. Should it be part of any other repo? I downloaded to play around but couldn't proceed due to compilation issues
image

@gdonati78
Copy link
Collaborator

gdonati78 commented Nov 7, 2024

@bischoffdev - I don't see any reference of DaggerClucumberCoreGraph class. Should it be part of any other repo?

If I'm not mistaken, that should be a generated class based on src/main/java/com/trivago/cluecumber/engine/dagger/CluecumberCoreGraph.java , that Dagger generates during the building process of cluecumber-engine.
You can build the whole project with make build from root, did you do that?

@gitissuepost
Copy link
Author

@gdonati78 - I didn't try that. Thanks for the lead.

@bischoffdev
Copy link
Collaborator

If I'm not mistaken, that should be a generated class based on src/main/java/com/trivago/cluecumber/engine/dagger/CluecumberCoreGraph.java , that Dagger generates during the building process of cluecumber-engine.

Exactly, Dagger code needs to be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants