Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to run unit tests of underlying packages
How to run unit tests of underlying packages [message #766242] Thu, 15 December 2011 12:43 Go to next message
Dieter Willems is currently offline Dieter WillemsFriend
Messages: 3
Registered: December 2011
Junior Member
Hi guys,

I'm using Eclipse Indigo. I want to run unit tests for a specific package and the underlying packages as well. However if I do a run as junit on that package, only the tests within the package are executed. Is there a way to run the tests of the underlying packages as well?

Thank you in advance

Regards,
Dieter
Re: How to run unit tests of underlying packages [message #767143 is a reply to message #766242] Sat, 17 December 2011 05:55 Go to previous messageGo to next message
Javak  is currently offline Javak Friend
Messages: 26
Registered: November 2011
Junior Member
Try this: Open Project Properties, select Run/Debug settings, select a JUnit run configuration, click Edit. You should see an option: Run all tests in the selected projects, package or source folder.

Hope this helps.
Re: How to run unit tests of underlying packages [message #767200 is a reply to message #767143] Sat, 17 December 2011 09:45 Go to previous message
Dieter Willems is currently offline Dieter WillemsFriend
Messages: 3
Registered: December 2011
Junior Member
That's something I already tried out. But it seems that even then only the unit tests of the package itself are running. No underlying package will be picked up to run the unit tests.
Previous Topic:[SOLVED] Getting Current Cursor Location
Next Topic:How to create extension point using existing eclipse extension point
Goto Forum:
  


Current Time: Tue May 14 16:49:33 GMT 2024

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

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

Back to the top