Bug 66415 - JUnit class created multiple times when run
Summary: JUnit class created multiple times when run
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 16:35 EDT by Mike Christiansen CLA
Modified: 2004-06-09 17:09 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 Mike Christiansen CLA 2004-06-09 16:35:29 EDT
When running a test case from the Eclipse 3rc1 UI, I am finding that the 
TestCase subclass is being constructed once for each "test" method in the 
class. I demonstrated this by placing a System.out in the TC constructor. I'm 
(pretty) sure that this is not how a JUnit test case is suppose to run.
Comment 1 Jerome Lanneluc CLA 2004-06-09 17:09:24 EDT
Actually it is supposed to work like that. See www.junit.org for more info.