If .class files are used to match test classes in the junit batchtest element, then test reordering does not take place.
mstudman: CloverTestSnapshot.calculateDurationOf() needs to be updated to handle .class paths, i believe
mstudman: so currently it doesn't handle them (estimated duration == 0) but then adds the estimate cost of setup/teardown. the result, both ClassATest and ClassBTest appear to take the same length of time hence the non-optimised ordering
[CLOV-399] Test re-ordering not working for *.class patternsets
Workflow | Original: New Clover Workflow [ 897990 ] | New: New Clover Workflow - Restricted [ 1474235 ] |
Workflow | Original: Clover Workflow [ 896270 ] | New: New Clover Workflow [ 897990 ] |
Workflow | Original: reviewflow [ 149852 ] | New: Clover Workflow [ 896270 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Implemented [ 10025 ] | New: Resolved [ 5 ] |
Fix Version/s | New: 2.4.3 [ 14477 ] | |
Fix Version/s | Original: post 2.4 [ 13646 ] |
Status | Original: In Progress [ 3 ] | New: Implemented [ 10025 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |