You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I actually work on implementing flaky test handling with a configured retry count.
Means a test could be executed multiple times and finally ends with success or failure.
It would be great to extend the report by flaky column.
Test suite
Passed
Failed
Flaky
Skipped
Time
GdUnitTestSuiteTest
4✅
1⚠️
1⚪
196ms
The report generation should be aware of multiple test with same name in test suite and collect them to one state.
If a test found be multiple times (equal test case and test suite), it should be handled as:
all failed -> failed
failed and the last is success -> flaky
all success -> success
Alternatives considered
If there is already a way or a workaround to mark a test as flaky, please let me know how to write the JUnit report.
Thanks
Regards Mike Schulze
The text was updated successfully, but these errors were encountered:
Describe
I actually work on implementing flaky test handling with a configured retry count.
Means a test could be executed multiple times and finally ends with success or failure.
My actual created JUnit report looks like:
The test
test_flaky_success
is executed three times and ends finally with success.The report is not aware of multiple test executions and reports as failure.
✅ test_assert_that_types
⚪ test_unknown_argument_in_test_case
✅ test_find_child
✅ test_find_by_path
❌ test_flaky_success
failure 1: at retry 1
❌ test_flaky_success
failure 1: at retry 2
✅ test_flaky_success
Proposed solution
It would be great to extend the report by flaky column.
The report generation should be aware of multiple test with same name in test suite and collect them to one state.
If a test found be multiple times (equal test case and test suite), it should be handled as:
Alternatives considered
If there is already a way or a workaround to mark a test as flaky, please let me know how to write the JUnit report.
Thanks
Regards Mike Schulze
The text was updated successfully, but these errors were encountered: