1.

What are JUnit classes? List some of them.

Answer»

JUnit classes are important classes which are used in writing and testing JUnits. Some of the important classes are −

  • Assert − It contains a set of assert methods.

  • TestCase − It contains a test case defines the fixture to run multiple tests.

  • TestResult − It contains methods to collect the results of executing a test case.

  • TestSuite − It is a Composite of Tests.



Discussion

No Comment Found