You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Gail Badner (JIRA)" <ji...@apache.org> on 2007/07/03 08:55:07 UTC
[jira] Created: (DIGESTER-117) Missing unit tests using ant and
maven
Missing unit tests using ant and maven
--------------------------------------
Key: DIGESTER-117
URL: https://issues.apache.org/jira/browse/DIGESTER-117
Project: Commons Digester
Issue Type: Bug
Affects Versions: 1.8
Reporter: Gail Badner
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Closed: (DIGESTER-117) Missing unit tests using ant and
maven
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIGESTER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed DIGESTER-117.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.8.1
Emulating the changes in DBCP/Beanutils (I think it was those two); I've opted to update the build.xml and not to use 'maven ant'.
I've also rewritten the build.properties.sample, using dbcp's as an example, so that running 'maven jar' puts the various required jar files into the location expected by the sample.
> Missing unit tests using ant and maven
> --------------------------------------
>
> Key: DIGESTER-117
> URL: https://issues.apache.org/jira/browse/DIGESTER-117
> Project: Commons Digester
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: Gail Badner
> Fix For: 1.8.1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (DIGESTER-117) Missing unit tests using ant and
maven
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIGESTER-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510005 ]
Henri Yandell commented on DIGESTER-117:
----------------------------------------
Either run 'maven ant', or replace the existing test stuff with:
<junit printsummary="true" showoutput="true" fork="yes" haltonfailure="${test.failonerror}">
<classpath refid="test.classpath"/>
<batchtest>
<fileset dir="${test.home}">
<include name="**/*TestCase.java"/>
<include name="**/*Test.java"/>
<include name="**/plugins/TestAll.java"/>
<include name="**/TestFactoryCreate.java"/>
</fileset>
</batchtest>
</junit>
Which should we do?
> Missing unit tests using ant and maven
> --------------------------------------
>
> Key: DIGESTER-117
> URL: https://issues.apache.org/jira/browse/DIGESTER-117
> Project: Commons Digester
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: Gail Badner
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org