8
·
9
·
10
·
11
·
12
·
13
·
14
·
15
·
16
·
17
·
18
·
19
Marc Hoffmann
Code coverage analysis gives project teams an idea about the quality of their test suites and
uncovers poorly tested program code. If actively facilitated in a software project from the very
beginning coverage analysis can also support and motivate the individual developer in writing
effective unit tests. Recent tools like TPTP or the EclEmma plug-in bring Java code coverage
directly into the Eclipse IDE and close a long outstanding gap in the open source tool stack.
This talk introduces the basic concepts behind code coverage analysis and substantiates them
with several Eclipse IDE based demos. While the presented techniques and tools theoretically
work for any Java application the focus is on testing Eclipse plug-ins and Eclipse/OSGi based
applications.
Marc works as an independent consultant and has been involved in the development of several commercial Eclipse/RCP based projects
and software products since 2004. He is the author of the open source code coverage plug-in EclEmma
(www.eclemma.org) which was selected as a finalist in this years Eclipse
Community Awards.