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


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.

Reply via email to