[ 
https://issues.apache.org/jira/browse/BEANUTILS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509962
 ] 

Henri Yandell commented on BEANUTILS-287:
-----------------------------------------

Either we should 'maven ant' it, or replace all the test bits with:

  <target name="test"  depends="compile.tests"
   description="Run all unit test cases">
      <junit printsummary="true" showoutput="true" fork="yes" 
haltonfailure="${test.failonerror}">
        <classpath refid="test.classpath"/>
        <batchtest>
          <fileset dir="${test.home}">
            <include name="**/*TestCase.java"/>
          </fileset>
        </batchtest>
      </junit>
  </target>

> Missing unit tests using ant and unit test errors using maven 
> --------------------------------------------------------------
>
>                 Key: BEANUTILS-287
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-287
>             Project: Commons BeanUtils
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Gail Badner
>
> When running unit tests with ant, 402 tests are executed and all are 
> successful.
> The following test cases are are not executed with ant:
>    ConstructorUtilsTestCase
>    FileConverterTestCase
>    URLConverterTestCase
> When running unit tests with maven, 413 tests are executed, but 2 fail:
>    BeanificationTestCase.testMemoryTestMethodology
>    LocaleBeanificationTestCase.testMemoryTestMethodology
> Both errors are due to java.lang.ClassNotFoundException: 
> org.apache.commons.beanutils.BetaBean
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to