incubator-hise-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akhilesh Singh (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HISE-96) Junit throws "java.lang.Exception: No runnable methods" error for TestingManagement and TestImpl classes
Date Mon, 27 Sep 2010 16:40:33 GMT

     [ https://issues.apache.org/jira/browse/HISE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akhilesh Singh updated HISE-96:
-------------------------------

    Attachment: testPatch.patch

TestingManagement and TestImpl classes do not extend Junit Test class neither are marked with
@Test annotations. As such junit is throwing "no test method found" during hise-web build.
 These classes appear to be helper classes for test. 

@Ignore is required for proper build. 

> Junit throws "java.lang.Exception: No runnable methods"  error for TestingManagement
and TestImpl classes
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HISE-96
>                 URL: https://issues.apache.org/jira/browse/HISE-96
>             Project: HISE
>          Issue Type: Test
>         Environment: Clean checkout from trunk 
>            Reporter: Akhilesh Singh
>         Attachments: testPatch.patch
>
>
> This error occurs because TestingManagement and TestImpl classes are not actual classes
and hence must be marked with @Ignore annotation for junit to skip these helpder classes.


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