public class JUnitTestTimeWeightCalculator extends Object implements TestWeightCalculator
TestWeightCalculator
which uses the test timings recorded in
JUnit test reports to calculate the "weight" of individual test classes. Tests that take longer to run according to
the report are given a heavier weight.TestWeightCalculator.TestCounter
Constructor and Description |
---|
JUnitTestTimeWeightCalculator(JUnitTestTimings testTimings) |
public JUnitTestTimeWeightCalculator(JUnitTestTimings testTimings)
public long calculateTestWeight(Class<?> testClass)
calculateTestWeight
in interface TestWeightCalculator
Copyright © 2003–2015 Atlassian. All rights reserved.