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

io.split.testrunner.junit.JUnitRunnerFactory Maven / Gradle / Ivy

There is a newer version: 22.4.3
Show newest version
package io.split.testrunner.junit;

import io.split.testrunner.junit.JUnitRunner;

import java.lang.reflect.Method;
import java.util.Optional;

/**
 * Guice Factory for creating test runners.
 */
@FunctionalInterface
public interface JUnitRunnerFactory {
    /**
     * Creates a JUnitRunner
     *
     * @param test the method to run
     * @param nameAppender a name appender in case it exists.
     * @return the JUnitRunner
     */
    JUnitRunner create(Method test, Optional nameAppender);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy