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

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

Go to download

Statistical sampling library for use in virtualdataset libraries, based on apache commons math 4

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

/**
 * Interface for runners that allow sorting of tests. By sorting tests based on when they last failed, most recently
 * failed first, you can reduce the average time to the first test failing. Test sorting should not be used to
 * cope with order dependencies between tests. Tests that are isolated from each other are less
 * expensive to maintain and can be run individually.
 *
 * @since 4.0
 */
public interface Sortable {

    /**
     * Sorts the tests using sorter
     *
     * @param sorter the {@link Sorter} to use for sorting the tests
     */
    public void sort(Sorter sorter);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy