Using JUnit 3.8 TestDecorators with Eclipse

K

kelvSYC

Suppose I have a TestCase, and I wrap the TestCase in a TestDecorator
(which is needed for some reason - for example, a TestSetup for proper
initialization, etc). If I run the TestCase in Eclipse as a JUnit
test, it will create a TestSuite out of the class without it being
properly wrapped in the TestDecorator. How do I make it so that
whenever I run the TestCase in Eclipse as a JUnit test, it wraps the
resulting TestSuite in the TestDecorator first before running it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,072
Latest member
trafficcone

Latest Threads

Top