Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356224

Summary: Task Context Tests cannot find Junit4 tests annotated with @Test
Product: z_Archived Reporter: Nicolas Marchildon <nicolas>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: CLOSED MOVED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Nicolas Marchildon CLA 2011-08-30 12:04:54 EDT
Build Identifier: Version: 3.7.0 Build id: I20110613-1736 

My test classes do not extend TestCase, as I'm using JUnit 4. When running the Context Test Suite, I get this message:

"No test types found in the active task context."


Reproducible: Always

Steps to Reproduce:
1. Enter menu Run, Run Configurations...
2. In Run Configurations dialog, locate Task Context Test and click 'New launch configuration'
3. Add your project to your classpath
4. Apply and Close
5. Activate a task
6. Create MyTest.java, with:

@Test
public void test() {
}

7. Ensure MyTest is in your context by checking the Package Explorer
8. Back in In Run Configurations dialog, run the Task Context Test.
Comment 1 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn