1.

What is a JUnit fixture?

Answer»

FIXTURE represents a fixed state of object sets used as a baseline for running test methods. This is to ensure there is a fixed and well-known environment where the results of the test methods are repeatable when RUN multiple TIMES. The fixture has the FOLLOWING 2 methods:

  • SETUP()This runs before every test case is run.
  • tearDown() This method is run after every test is run.


Discussion

No Comment Found