commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
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


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"/>
          <fileset dir="${test.home}">
            <include name="**/*"/>

> Missing unit tests using ant and unit test errors using maven 
> --------------------------------------------------------------
>                 Key: BEANUTILS-287
>                 URL:
>             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:
For additional commands, e-mail:

View raw message