CSE MCQs :: JUnit MCQs
- The Suite object is a _____ that executes all of the @Test annotated methods in the test class.
- JUnit Suites are independent of the capability of the ______ system.
- What are fixtures in JUnit?
- What is the purpose of assertArrayEquals("message, A, B)?
- JUnit test files are written in files with which file extension?
- What type of object is returned on completion of a test?
- To listen to events during a test, which class has to be extended?
- To run the file TestClass.class from the command line, we have to type what?
- When is the tearDown() method called in JUnit?
- What does the fail() method do in JUnit?