Wednesday
10
Jun 2009

Code Coverage in Eclipse with EclEmma

(8:38 am) Tags: [Software, Projects]

I am fortunate enough to be working on a project where I get to start from a clean slate. I set up test cases using JUnit, and Eclipse runs them within the IDE easily. Next I wanted to know how well the unit tests were covering the code.

Enter EclEmma, an Eclipse plugin for showing code coverage. Simply add the update site of http://update.eclemma.org/ to your sites, and install/restart Eclipse. Next, run your test case with the EclEmma run button, and you get a report of code coverage. It even highlights the code in the Java editor to show no/partial/full coverage of a line.

This is the way an Eclipse plugin should operate. Great work, EclEmma team! Now, if it only tested a webapp… I know I can do it manually, but this simple ‘click here’ experience leaves me not wanting to do that.

Popularity: 4%

Comments: Comments Off
Tuesday
3
Feb 2009

Sum all numbers in a file

(11:06 am) Tags: [Software, Why I like..., How do I..., Sysadmin]
Comments: (3)
Tuesday
27
Jan 2009

keepalived: who needs a redundant load balancer setup?

(3:31 pm) Tags: [Software, Why I like..., Projects]
Comments: Comments Off
Sunday
25
Jan 2009

Book Review: Lighttpd by Andre Bogus

(2:39 pm) Tags: [General, Why I like...]
Comments: Comments Off
Tuesday
6
Jan 2009

sparse revisions in subversion

(9:38 am) Tags: [Software]
Comments: Comments Off
Saturday
3
Jan 2009

DimDim mini-review

(12:14 pm) Tags: [Software]
Comments: Comments Off
Friday
2
Jan 2009

Tango Patch Day

(2:19 pm) Tags: [D Programming Language]
Comments: Comments Off
Thursday
1
Jan 2009

WebSVN install

(3:59 pm) Tags: [Software]
Comments: Comments Off

rsync backups with TeraStation

(11:41 am) Tags: [Software, Life]
Comments: Comments Off
Friday
21
Nov 2008

Full 1920×1200 screen resolution on Dell Latitude E6500 with Ubuntu 8.10

(2:23 pm) Tags: [Software]
Comments: Comments Off
Friday
14
Mar 2008

Comments working again

(6:56 pm) Tags: [General]
Comments: Comments Off
Wednesday
12
Mar 2008

Why is D/Tango so fast at parsing XML?

(9:05 am) Tags: [General, Projects, D Programming Language]
Comments: (3)
Monday
10
Mar 2008

XML Benchmarks - Parse/Query/Mutate/Serialize

(8:41 am) Tags: [Software, Projects, D Programming Language]
Comments: (3)

XML Benchmarks - updated graphs with RapidXml

(8:25 am) Tags: [Software, Projects]
Comments: (2)
Sunday
9
Mar 2008

XML Benchmarks - pros and cons of each library

(7:04 pm) Tags: [Software, Projects, D Programming Language]
Comments: Comments Off

XML Benchmarks - RapidXml

(6:56 pm) Tags: [Software, Projects]
Comments: (3)
Friday
7
Mar 2008

iPhone Enterprise

(9:38 am) Tags: [Software, Life]
Comments: Comments Off
Thursday
6
Mar 2008

Tango XML - Querying the weather in London

(5:42 pm) Tags: [General, Projects, D Programming Language]
Comments: (1)
Tuesday
4
Mar 2008

XML Benchmarks - Updated graphs

(2:23 pm) Tags: [General, Software, Projects, D Programming Language]
Comments: Comments Off
Wednesday
27
Feb 2008

XML Benchmarks - Updated graphs with StaX parsers

(10:22 pm) Tags: [Software, Projects, D Programming Language]
Comments: (3)