You're helping more than just yourself...

Often when I go to run a JUnit test from Eclipse via a context menu on the test class from the Package Explorer, I find myself looking for the "Run as JUnit Test" item under "Team..." rather than "Run As...". It's as though subconsciously I'm saying that the act of writing and running these tests is for more than just my benefit.

A couple of other notes on Eclipse:

  1. Create a less complicated key binding for running JUnit tests -- I use Ctrl+U. Much easier than the out-of-the-box jazz piano chord (Alt+Shift+X, T).
  2. Use Infinitest, and you'll come to think of "Save All" as "Run all the tests and tell me what the effects of these changes are." Rapid feedback FTW.
Written on January 26, 2010