Testing / Junit Interview questions III
Explain the steps involved in writing a simple JUnit test case.
Create a subclass of TestCase.
To initialize object under test, override the setup() method.
To release object under test, override the teardown() method.
Create one or more public testMethodname () methods that assess the objects under test and assert expected results.
More Related questions...