Clover Test Optimization broken for Tests which inherit from a common base class (that is instrumented with clover)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.6 M2
    • Affects Version/s: 2.5, 2.5.1
    • Component/s: Test Optimization
    • None

      This is a regression in clover 2.5.0 . Clover 2.4.2 does not have this same problem.

      The attached project reproduces this problem for both Ant and Maven2.
      Both SubATest and SubBTest inherit from AbstractTest. The clover.snapshot that is generated after a test run contains only information about one of them. Which one is purely random. Which means that the problem eventually disappears when run enough times for each sub testMethod to be added to the snapshot.

              Assignee:
              Nick
              Reporter:
              Nick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10h
                  10h