[JUnit 4.12]How to make test marked as "passed" even if one of subtests was "ignored"?
Answered
I am running tests using "Parameterized" class. Some subtests are not required for every document i am testing, so they are ignored simply by assuming assertion. But Is it possible to mark parent test as "passed" even if some of its subtests failed? I am not allowed to make these subtests passed by simply using return on certain condition, because this can cause wrong conclusions - I need to find a way to restrict certain tests from being launched at all or simply making parent marked as passed.

Please sign in to leave a comment.
>But Is it possible to mark parent test as "passed" even if some of its subtests failed?
There is no such option mark it in IDE.