[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3401) JMX tests are running, but no test cases found in core and ui suites

Nick Boldt (JIRA) jira-events at lists.jboss.org
Mon Dec 15 12:10:54 EST 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442634#action_12442634 ] 

Nick Boldt commented on JBIDE-3401:
-----------------------------------

Looks like this is failing because JUnit 4 no longer includes the TestCollector class.

http://rcpquickstart.com/2008/06/12/running-unit-tests-for-rcp-and-osgi-applications/

So, we would either need to force the system to use JUnit3's jar instead of 4, or manually collect the test classes to be run.

Thoughts?

> JMX tests are running, but no test cases found in core and ui suites
> --------------------------------------------------------------------
>
>                 Key: JBIDE-3401
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3401
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jmx
>    Affects Versions: 3.0.0.GA
>            Reporter: Nick Boldt
>            Assignee: Rob Stryker
>
> I've added new AllTests classes to org.jboss.tools.jmx.core and org.jboss.tools.jmx.ui, borrowed from other EPL code in drools' tests. Unfortunately, the "find all my child test cases" suite does not find any tests to run. Can you take a look and either manually add the tests you want to run to a suite, or provide some other way to hook these tests into the build system?
> Here's the error tracked by the build:
> org.jboss.tools.jmx.core.AllTests.<init>
> Failing for the past 2 builds (Since Unstable#1236 )
> Took 0 sec.
> Error Message
> Failed to invoke suite():java.lang.Error: There are no test cases to run
> Stacktrace
> org.eclipse.test.EclipseTestRunner$TestFailedException: Failed to invoke suite():java.lang.Error: There are no test cases to run
> 	at org.eclipse.test.EclipseTestRunner.runFailed(EclipseTestRunner.java:283)
> (http://hudson.qa.jboss.com/hudson/view/DevStudio/job/jbosstools-nightly/1237/testReport/org.jboss.tools.jmx.core/AllTests/_init_/)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list