public class FailsafeExternalResource
extends org.junit.rules.ExternalResource
TestRule allowing to execute code around the Statement.evaluate() call.
Same as ExternalResource, but does not allow ExternalResource.after() to escape in case Statement#evaluate()}
escaped. A potential exception caused an after() call is logged instead.
| Constructor and Description |
|---|
FailsafeExternalResource() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
Copyright © 2015 Atlassian. All rights reserved.