cpisciotta / xcbeautify

A little beautifier tool for xcodebuild
MIT License
947 stars 67 forks source link

Add retry on failure support to JunitReporter #293

Open nandodelauni opened 1 month ago

nandodelauni commented 1 month ago

:tophat: What is the goal?

Avoid false positives when retry on failure is enabled and there is one retry that passes. Right now the test is reported as both success and failure.

:hammer: How is it being implemented?

By filtering out test failures if a test case passes and the previous components have the same classname and class which uniquely identifies a test.

Closes https://github.com/cpisciotta/xcbeautify/issues/290

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.96%. Comparing base (80d0acb) to head (5308f56).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #293 +/- ## ========================================== + Coverage 86.81% 86.96% +0.15% ========================================== Files 14 14 Lines 1600 1619 +19 ========================================== + Hits 1389 1408 +19 Misses 211 211 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.