All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fm.pattern.cycle.junit.AcceptanceTestRunner Maven / Gradle / Ivy

Go to download

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