Brett Morgan's Insanity Weblog Zilla : Days of our lives. Honestly.
Updated: 2/10/2002; 1:13:14 AM.

 

Subscribe to "Brett Morgan's <Strike>Insanity Weblog</Strike> Zilla" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Sunday, 15 September 2002

Flipping bits

Mutant Jesters

There are many tools that can increase your visibility of unit-tests - coverage tools such as Clover can show you uncovered parts of your code or execution paths that are never followed. This makes it very easy to expand your test coverage.

But that's not all...

Jester is a code mutation tool by Ivan Moore that can show you much more than this - how effective your tests are rather than just how well covered your code is. An automated test tester.

One of the rules of test driven development is that any line of code in your system that isn't there to make a test pass is redundant - get rid of it! Jester helps you enforce this by mutating your code. It's pretty simple - if it can change a line of source code, rerun the tests and they still pass, it's redundant code. This is reflected in a nice little HTML report.

It's easy to write a test that executes an entire chunk of code and pleases a coverage tool - however there's no point if it isn't actually testing all the results and interactions. Read Ivan's paper for a more in depth discussion on the topic. This can be used to either find out your testing weaknesses or identify useless code.

So, once you think your code has pretty good test coverage, try testing how effective your tests actually are. It's very eye-opening.

Jester should be in the core distribution of Maven, methinks :)

[Joe's Jelly]

So totally cool.


11:50:40 PM    

Communities

Shirky on Community.

Clay Shirky's written another sterling essay, this time on the nature of communities vs/ broadcasting and why only fools think they're going to build a really cool community and everyone will come and like hang out and then they'll be like all popular and everything.

Clay is one of my favorites. [JOHO the Blog]

So true.


11:21:01 PM    

Quizzically

Apparently, my girlfriend is:


10:39:45 PM    


© Copyright 2002 Brett Morgan.



Click here to visit the Radio UserLand website.

 


September 2002
Sun Mon Tue Wed Thu Fri Sat
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          
Aug   Oct

Previous Next
blogchalk: Brett/Male/26-30. Lives in Australia/Sydney/Carlingford and speaks English. Spends 60% of daytime online. Uses a Faster (1M+) connection.
this site is a java.blog