See: Description
| Interface | Description |
|---|---|
| Optimizable |
A
Optimizable is an abstraction for things that can be executed for the purpose of testing
and can be potentially optimized away by Clover. |
| Class | Description |
|---|---|
| OptimizationOptions | |
| OptimizationOptions.Builder |
Options for use with the clover
TestOptimizer class. |
| StringOptimizable | |
| TestOptimizer |
A TestOptimizer allows you to optimize a Collection of classes (that are Tests) programatically.
|
| Enum | Description |
|---|---|
| OptimizationOptions.TestSortOrder |
TestOptimizer takes an instance of
OptimizationOptions.
OptimizationOptions are built and configured using an
OptimizationOptions.Builder.
final Options options = new Options.Builder().snapshot(new File(".clover/clover.snapshot")).build();
final Collection<Class> optimizedClasses = new TestOptimizer(options).optimize(unoptimizedClasses);
// optimizedClasses will only contain those tests that cover code that has been modified.