In JUnit 3 I simply called
suite.addTestSuite( MyTest.class )
However if MyTest is a JUnit 4 test which does not extend TestCase this doesn’t work. What should I do instead to create a suite of tests?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For those with a large set of 3.8 style suites/tests that need to coexist with the new v4 style you can do the following: