Closed
Description
This idea is similar to issue #2119
I think the function mentioned in issue #2119 could be extended to allow users to define tolerable number of failures, by introduce something like tolerableFailureNumber
attribute (which is an integer
)
@RepeatedTest(10, tolerableFailureNumber = 2) // this test will terminate after five failures
This can not only fulfill the requirements in issue #2119 by setting tolerableFailureNumber
to 1, but also provide richer functionality.