August 2012
Intermediate to advanced
318 pages
5h 56m
English
In this chapter, we discussed what code coverage is and reviewed the tools that Sonar uses to perform such an analysis. After a more detailed look at specific coverage metrics such as decision, condition, and path coverage, we examined the Sonar interface and how it helps us identify complex classes lacking tests. Finally, we covered basic concepts of the jUnit testing library as a first step towards unit test writing.
In the next chapter, we will review the process of creating an integrated development environment complete with a source code repository, a build server, and Sonar according to the continuous inspection paradigm.
Read now
Unlock full access