Skip to content

Repeat on failure #53

@occupant23

Description

@occupant23

Add an annotation on test case and test function level that leads to another execution if the test case fails. If the test runs successful no further execution is required.

An optional parameter should be the number of retries (default 1).

@RepeatOnFailure(3)
@Test 
public void test()
{
    // test something 
}

Add documentation and test cases for this feature.

Possible hint for implementation with jUnit: https://stackoverflow.com/questions/8295100/how-to-re-run-failed-junit-tests-immediately.

Metadata

Metadata

Assignees

Labels

Medium PrioritycodeDoneThe issue is rechecked for development branchdocsNeededThe documenttion needs to be checked if there are changes needed and if so, adaptions should be madefeature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions