public class RecorderRule
extends software.betamax.Recorder
implements org.junit.rules.TestRule
This is an extension of Recorder that can be used as a
JUnit @Rule allowing tests annotated with @Betamax to automatically
activate
Betamax recording.
| Constructor and Description |
|---|
RecorderRule() |
RecorderRule(software.betamax.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |