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

org.junit.runner.manipulation.Filterable Maven / Gradle / Ivy

Go to download

JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.

There is a newer version: 4.13.2
Show newest version
package org.junit.runner.manipulation;

/**
 * Runners that allow filtering should implement this interface. Implement {@link #filter(Filter)}
 * to remove tests that don't pass the filter.
 *
 * @since 4.0
 */
public interface Filterable {

    /**
     * Remove tests that don't pass the parameter filter.
     *
     * @param filter the {@link Filter} to apply
     * @throws NoTestsRemainException if all tests are filtered out
     */
    void filter(Filter filter) throws NoTestsRemainException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy