- Write a new failing test
- Run the test and see it fail
- Code (in order to pass the test)
- Run the test again and see it pass
I was wondering how my personal cycle time is at an average. So I wrote a little plug-in for Eclipse that listens to test runs and computes the average time between a test run with failures and a test run without any failures.
Here is what the very simple plug-in looks like:
In case you want to give it a try you can download it here.
The plug-in contributes a view called TddMeter. In order to show it simply hit <CTRL>-<3> and type TddMeter.
Note: The plug-in requires Eclipse 3.3
Update: The plug-in now persists its state.