org.junit.runners.parameterized.ParametersRunnerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit Show documentation
Show all versions of junit Show documentation
JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.
package org.junit.runners.parameterized;
import org.junit.runner.Runner;
import org.junit.runners.model.InitializationError;
/**
* A {@code ParameterizedRunnerFactory} creates a runner for a single
* {@link TestWithParameters}.
*
* @since 4.12
*/
public interface ParametersRunnerFactory {
/**
* Returns a runner for the specified {@link TestWithParameters}.
*
* @throws InitializationError
* if the runner could not be created.
*/
Runner createRunnerForTestWithParameters(TestWithParameters test)
throws InitializationError;
}