You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "lacton (JIRA)" <ji...@apache.org> on 2008/10/19 21:54:47 UTC
[jira] Closed: (BUILDR-89) JUnit TestTask runs even abstract test
classes
[ https://issues.apache.org/jira/browse/BUILDR-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lacton closed BUILDR-89.
------------------------
> JUnit TestTask runs even abstract test classes
> ----------------------------------------------
>
> Key: BUILDR-89
> URL: https://issues.apache.org/jira/browse/BUILDR-89
> Project: Buildr
> Issue Type: Bug
> Components: Test frameworks
> Affects Versions: 1.3.1
> Reporter: lacton
> Fix For: 1.3.2
>
>
> The JUnit TestTask tries to instantiate and run all classes that extend junit.framework.TestCase, even when the class is abstract.
> I get the following error output.
> [junit] Testsuite: AbstractTestCase
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,014 sec
> [junit]
> [junit] Testcase: warning took 0,006 sec
> [junit] FAILED
> [junit] No tests found in AbstractTestCase
> [junit] junit.framework.AssertionFailedError: No tests found in AbstractTestCase
> [junit]
> [junit] TEST AbstractTestCase FAILED
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.