Bug 71501 - [JUnit] add TestDecorator filter for test hierarchy of JUnit View
Summary: [JUnit] add TestDecorator filter for test hierarchy of JUnit View
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-05 14:13 EDT by Christof Marti CLA
Modified: 2009-04-27 05:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christof Marti CLA 2004-08-05 14:13:00 EDT
In some situations it makes sense to show the TestDecorators in the test
hierarchy. MK and I discussed to add a 'filter test decorators' option to the
JUnit View's view menu, which would be enabled by default.

An example where this is usefull is with performance tests which should be run
with two different TestSetups:

public static Test suite() {
	return new MyDemoTestSuite();
}

public MyDemoTestSuite() {
	addTest(new MyTestSetup1(MyPerformanceSuite.suite()));
	addTest(new MyTestSetup2(MyPerformanceSuite.suite()));
}
Comment 1 Markus Keller CLA 2004-11-04 11:45:02 EST
TestDecorators are now always shown in the tree. This makes it hard to browse
large test suites such as jdt.ui's AllTests and AutomatedSuite, where each test
class has always the same TestSetup.
Comment 2 Erich Gamma CLA 2006-05-24 05:48:31 EDT
Moving back to the JDT/UI inbox
Comment 3 Markus Keller CLA 2007-06-13 06:28:01 EDT
This should be easier now that the Eclipse JUnit runner has an explicit model.