Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-641

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.6 M2
    • 2.5, 2.5.1
    • Test Optimization
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              npellow Nick
              npellow Nick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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