Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356224 - Task Context Tests cannot find Junit4 tests annotated with @Test
Summary: Task Context Tests cannot find Junit4 tests annotated with @Test
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 12:04 EDT by Nicolas Marchildon CLA
Modified: 2011-08-30 17:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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