Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-117

Missing unit tests using ant and maven

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.8.1
    • None

    Description

      Currently, 136 unit tests are run using maven and 149 unit tests are run using ant.

      The maven build uses the file patterns:
      **/*Test.java
      **/*TestCase.java
      which misses the following tests:
      **/plugins/TestAll.java
      **/TestFactoryCreate.java

      After the missing tests are added to the maven build, 157 tests are executed.

      The ant build does not execute the following tests:
      LocationTrackerTestCase
      NamespaceSnapshotTestCase
      OverlappingCallMethodRuleTestCase

      After the missing tests to the ant build, 157 tests are executed.

      I'm not sure how this should be fixed; should test cases that don't end in "Test" or "TestCase" be renamed?

      When this is fixed, it would be nice if the junit ant task were used to run the tests so that the JUnit report can be generated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gbadner Gail Badner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: