commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-287) Missing unit tests using ant and unit test errors using maven
Date Tue, 03 Jul 2007 18:09:04 GMT

    [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message