I have 2 test classes, both extend TestCase. Each class contains a bunch of individual tests which run against my program.
How can I execute both classes (and all tests they have) as part of the same suite?
I am using jUnit 4.8.
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.
In jUnit4 you have something like this:
If you want the Eclipse GUI suite builder (New > JUnit Test suite), you have to add
to each of your test classes s.t. the GUI test suite builder recognizes your test.