Bug 151246

Summary: [JUnit] run on project should also consider tests in archives
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2006-07-20 10:42:09 EDT
3.2

see bug 150289: The project contains a JAR that contains tests. Run As Junit on the project only looks for sources. Should also consider JARs in the project.
Comment 1 Martin Aeschlimann CLA 2006-07-20 10:59:33 EDT
We discussed this here. It's actully not clear what 'Run As' should do on a project. By our definition it's only the source folders. If we also add libraries it is not clear what JARs should be looked at. Also extrenals, also from containers. What if junit.jar is one of these libraries.

Maybe we should have never offered Run As on a project, but forced users to write test suites.

No changes planed.