Package org.pitest.mutationtest.build
Class DefaultTestPrioritiser
- java.lang.Object
-
- org.pitest.mutationtest.build.DefaultTestPrioritiser
-
- All Implemented Interfaces:
TestPrioritiser
public class DefaultTestPrioritiser extends Object implements TestPrioritiser
Assigns tests based on line coverage and order them by execution speed with a weighting towards tests whose names imply they are intended to test the mutated class- Author:
- henry
-
-
Constructor Summary
Constructors Constructor Description DefaultTestPrioritiser(CoverageDatabase coverage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TestInfo>assignTests(MutationDetails mutation)
-
-
-
Constructor Detail
-
DefaultTestPrioritiser
public DefaultTestPrioritiser(CoverageDatabase coverage)
-
-
Method Detail
-
assignTests
public List<TestInfo> assignTests(MutationDetails mutation)
- Specified by:
assignTestsin interfaceTestPrioritiser- Parameters:
mutation- Mutation to assign tests to- Returns:
- List of tests to run against mutant in priority order
-
-