Tuesday, January 31, 2012

TDD with JUnit : Running Tests

To run the tests, R-click on the TestCalculator.java file in Eclipse Navigator panel.

Select Run As--> JUnit Test

A new "Junit" panel will open and you will see the results of your test run.

All the 3 tests will fail, as expected, because we have not yet implemented Calculator.java

No comments: