Emma Code Coverage for NetBeans 5.0 plugins

EMMA is an open-source toolkit for measuring and reporting Java code coverage. Netbeans Project Extensions Project allows to create pluggable extensions for NetBeans projects. One of first extensions is support for code coverage of test's run in NetBeans 5.0.

Installation

  1. Download sf-netbeans-nbxdoclet-update-05.nbm NetBeans plugin. Install it. The plugin contains url to nbxdoclet update center.
  2. Open update center and install Experimental Teplates plugin with its dependencies.

How to use Emma code coverage

  1. Show project extension window from Window|Project Extension main menu.
  2. Select your developed module.
  3. Select Project Extensions Window.
  4. Perform Add Project Extension from popup of Project Extensions Window. Dialog with available project extensions is shown.
  5. Select Emma Code Coverage item from list and click to Ok button. The Emma Code Coverage Project Extension is added to selected project. It is visible in Project Extensions Window
  6. Select Emma Code Coverage node in Project Extensions Window and perform Run Code Coverage action from popup dialog. The tests are run and the emma code coverage report is generated.
  7. if some tests were run you can show code coverage results by clicking to Show Results from popup of Emma Code Coverage node.


Comments:

Post a Comment:
Comments are closed for this entry.
About

xzajo

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today