[MGNLTEST-5] Enable re-running of failing JUnit 5 tests Created: 22/Jan/20  Updated: 24/Aug/21  Resolved: 24/Aug/21

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: QA&Testing, fwk-infra-structure
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to BUILD-364 Maven plugins update Closed
supersession
supersedes MGNLTEST-78 Test retry functionality is not fully... Closed
is superseded by MGNLTEST-81 Complete implementation of `RetryOnFa... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: core-TF-features-bugs-improvements
Story Points: 5

 Description   

Reintroduce this feature we already have for JUnit4-based tests.
It looks like some random flakiness is unavoidable (possibly linked to network issues or anyway causes independent of the framework or of a particular test implementation).

Surefire may help us there with the rerunFailingTestsCount property.
See Maven Surefire Plugin - Rerun Failing Tests especially since version 3.0.0-M4 and SUREFIRE-1584

Some other possible solution inspiration sources (although the surefire-based approach seems more preferrable):


Timebox: 5sp for investigation/PoC.


Generated at Mon Feb 12 07:44:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.