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

Test re-ordering not working for *.class patternsets

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.4.3
    • 2.4.2
    • Ant Tasks
    • None

      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

            Owen made changes -
            Workflow Original: New Clover Workflow [ 897990 ] New: New Clover Workflow - Restricted [ 1474235 ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 896270 ] New: New Clover Workflow [ 897990 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 149852 ] New: Clover Workflow [ 896270 ]
            Marek Parfianowicz made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Michael Studman (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Implemented [ 10025 ] New: Resolved [ 5 ]
            Nick made changes -
            Fix Version/s New: 2.4.3 [ 14477 ]
            Fix Version/s Original: post 2.4 [ 13646 ]
            Michael Studman (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: Implemented [ 10025 ]
            Michael Studman (Inactive) made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Nick made changes -
            Link New: This issue is related to CLOV-400 [ CLOV-400 ]
            Nick made changes -
            Link New: This issue relates to CLOV-390 [ CLOV-390 ]
            Nick created issue -

              mstudman Michael Studman (Inactive)
              npellow Nick
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: