
fm.pattern.cycle.junit.AcceptanceTestRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cycle Show documentation
Show all versions of cycle Show documentation
Cycle simplifies automated acceptance testing by transparently starting any number of microservices before a JUnit test run.
The newest version!
package fm.pattern.cycle.junit;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.runners.model.InitializationError;
public class AcceptanceTestRunner extends BlockJUnit4ClassRunner {
public AcceptanceTestRunner(Class> klass) throws InitializationError {
super(klass);
TestExecutionMonitor.testStarted();
}
public void run(RunNotifier notifier) {
notifier.addListener(new AfterTestRunListener());
super.run(notifier);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy