Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:55 Go to next message
Ricardo Garcia is currently offline Ricardo GarciaFriend
Messages: 4
Registered: July 2009
Junior Member
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 20:07 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
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: Fri Apr 26 22:04:48 GMT 2024

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

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

Back to the top