buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lacton (JIRA)" <j...@apache.org>
Subject [jira] Closed: (BUILDR-89) JUnit TestTask runs even abstract test classes
Date Sun, 19 Oct 2008 19:54:47 GMT

     [ 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.


Mime
View raw message