InterviewSolution
Saved Bookmarks
| 1. |
If we want to run test files Test1 and Test2 together, the @SuiteClasses annotation will be?(a) @SuiteClasses(value={Test1.class,Test2.class})(b) @SuiteClasses(value=All)(c) @SuiteClasses(Test1, Test2);(d) @SuiteClasses()This question was posed to me during a job interview.My question comes from Composing Tests with a Suite topic in chapter Exploring Core JUnit of JUnit |
|
Answer» Right ANSWER is (a) @SuiteClasses(VALUE={Test1.class,Test2.class}) |
|