interceptAfterEachMethod

open override fun interceptAfterEachMethod(invocation: InvocationInterceptor.Invocation<Void>, invocationContext: ReflectiveInvocationContext<Method>, extensionContext: ExtensionContext)(source)

An @AfterEach is cleanup: it still runs after a failing test, whose tapTest cancelled the root job, so it gets a job of its own and can use the devices.