Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-428

Add integration test to check class path order

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.1
    • None
    • None
    • Patch

    Description

      The attached integration test checks some ordering constraints on the class path for testing:

      • test-classes should come before main-classes
      • main-classes should come before dependencies

      It might not catch all bad cases but currently there seems to be nothing that prevents regression of MNG-3118 or SUREFIRE-61 and this test at least tells you that Surefire-2.3 is broken.

      In concern of quality assurance, I would also like to mention that MNG-2365 has an unapplied patch that provides a unit test for MNG-3118.

      Attachments

        1. classpath-order-it.patch
          14 kB
          Benjamin Bentmann
        2. classpath-order-it.patch
          8 kB
          Benjamin Bentmann

        Activity

          People

            Unassigned Unassigned
            bentmann Benjamin Bentmann
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: