# Package groovy.junit6.plugin

package groovy.junit6.plugin
Classes to support running JUnit 6 (Jupiter) tests as scripts.

Since:
  6.0.0

- Class
  Description
  ExpectedToFail
  Inverts the pass/fail outcome of the annotated test method (or every test method on the annotated class): a test that throws is reported as passing, and a test that completes normally is reported as failing.
  ExpectedToFailContext
  Delegate for closure predicates supplied to `ExpectedToFail`, exposing the thrown exception under three convenient names: `ex` (the `Throwable` itself), `message` (its message), and `cause` (its cause, possibly `null`).
  ExpectedToFailExtension
  JUnit 5 `InvocationInterceptor` backing the `ExpectedToFail` annotation.
  ForkedJvm
  Runs the annotated test method (or every test method on the annotated class) in a freshly forked JVM, optionally configured with extra system properties and JVM arguments.
  ForkedJvmExtension
  JUnit 5 `InvocationInterceptor` backing the `ForkedJvm` annotation.
  ForkedJvmTestRunner
  Child-JVM entry point for `ForkedJvm`-annotated tests.
  JUnit6Runner
  Integration code for running JUnit 6 (Jupiter) tests in Groovy.