Tuesday, 16 July 2013

JUnit

JUnit is unit testing framework used to test method or class independently.

Annotations:
-------------
@Test -- The actual test method
@Before -- Executes before each test method execution
@After -- Executes after each test method execution


Fixtue: It is object of the actual class on which class methods we are writing test cases.