On Sun, 26 May 2024 06:06:50 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
> SkippedException works with jtreg tests only. For jUnit you need to use > [Assumptions.abort](https://junit.org/junit5/docs/5.9.1/api/org.junit.jupiter.api/org/junit/jupiter/api/Assumptions.html#abort(java.lang.String)) Yes, the Assumptions API should be used here. We use that in several JUnit tests that skip when tests when they can't run and you want it to fail the test. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19403#discussion_r1615032893