Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » JUnit plug-in test question: No tests found
JUnit plug-in test question: No tests found [message #448310] Thu, 06 January 2005 15:55 Go to next message
Eclipse UserFriend
Hi,
When I try to run JUnit plugin tests in my
'application' plugin they run fine, but when I call
them under my 'core' plugin, I receive the following
error:

junit.framework.AssertionFailedError: No tests found
in com.sb.ide.core.SBProjectTest

I'm using the same method to execute both, select each
test class, then with the Run menu I select Run -> Run
As -> JUnit Plug-in Test

I definitely extended TestCase correctly, and I have
adhered to the right naming convention for tests so I
know the tests exist in the SBProjectTest class.

I'm not quite sure why this doesn't work, because when
I run tests in a different plugin they work fine. I
must be missing something obvious but I'm not sure
what it is.

thanks,
Ricardo Garcia
Re: JUnit plug-in test question: No tests found [message #448757 is a reply to message #448310] Thu, 13 January 2005 15:07 Go to previous message
Eclipse UserFriend
Ricardo,

If you're still looking for this answer then you should ask your question in
the eclipse.tools.jdt newsgroup since that is where junit lives.

Grant

"Ricardo Garcia" <rickystreambase@yahoo.com> wrote in message
news:crk8kp$613$1@www.eclipse.org...
> Hi,
> When I try to run JUnit plugin tests in my
> 'application' plugin they run fine, but when I call
> them under my 'core' plugin, I receive the following
> error:
>
> junit.framework.AssertionFailedError: No tests found
> in com.sb.ide.core.SBProjectTest
>
> I'm using the same method to execute both, select each
> test class, then with the Run menu I select Run -> Run
> As -> JUnit Plug-in Test
>
> I definitely extended TestCase correctly, and I have
> adhered to the right naming convention for tests so I
> know the tests exist in the SBProjectTest class.
>
> I'm not quite sure why this doesn't work, because when
> I run tests in a different plugin they work fine. I
> must be missing something obvious but I'm not sure
> what it is.
>
> thanks,
> Ricardo Garcia
>
Previous Topic:Tooltip for propertySheet entries
Next Topic:Tabs in FormEditor at top.
Goto Forum:
  


Current Time: Thu Jul 10 10:24:59 EDT 2025

Powered by FUDForum. Page generated in 0.06322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top