1.

What Is Junit Testcase?

Answer»

JUNIT TestCase is the base class, junit.framework.TestCase, that ALLOWS you to create a test case.

A test case defines the fixture to run multiple tests. To DEFINE a test case

  • mplement a subclass of TestCase
  • efine instance variables that STORE the state of the fixture
  • nitialize the fixture state by overriding SETUP
  • lean-up after a test by overriding tearDown

Each test runs in its own fixture so there can be no side effects among test runs.

JUnit TestCase is the base class, junit.framework.TestCase, that allows you to create a test case.

A test case defines the fixture to run multiple tests. To define a test case

Each test runs in its own fixture so there can be no side effects among test runs.



Discussion

No Comment Found