Skip to main content

Mar 5, 2008 - 2 minute read - Agile Evil Tester

Eclipse plugins to ease Test Driven Development Mistakes

Previously I described how I made some TDD mistakes and fixed them by tracking them. And now to help me maintain my good behaviour and reduce my recidivism rate, I install some eclipse plugins: Emma, FindBugs, PMD and mousefeed.

The open source Emma code coverage tool provides a pretty good job of identifying my code coverage. I have had incidents where Emma and I disagreed on the extent of code coverage, but I find the Emma view of my code absolutely vital to double check that I haven’t relapsed into “Rewrite instead of Refactor” mode and allows me to engage in my preferred “Check code coverage after refactor” behaviour.

PMD scans my code looking for my idiot “Lower Case Class Names” mistake.

Eclipse itself handles my “Refactor Automatically” needs and while I haven’t learned as many keyboard shortcuts as I want to yet (and refactoring doesn’t seem to have too many). I have installed mousefeed to help me with those keyboard shortcuts that do exist.

I installed FindBugs to help me with my code reviews. Since I still have a whole lot of learning to do on Java, I run FindBugs as a ‘just in case’ check when I code on my own and have no pair.

For the subversion commit/update loop - I think I have to monitor my own behaviour.

You will need a Github account to comment. Or you can contact me with your comment.

I reserve the right to delete spam comments e.g. if your comment adds no value and its purpose is simply to create a backlink to another site offering training, or courses, or etc.