JaVa
   

Summary

This chapter covered the basics of using JUnit (a framework for writing automated unit tests) to create automated testing for your project. We discussed some of the reasons why you would want to use automated testing. Unit-level testing shows that the code you just refactored did not break. Automated testing gives you confidence in your ability to refactor. Ant and JUnit together can automate the build, deploy, and test process, which is essential for continuous integration and refactoring. In addition, Ant allows you to create snazzy HTML reports on your project using the junit and junitreport tasks. This reports allows you to see the state of your project at a glance.


JaVa
   
Comments