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

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top