Comments

For years I’ve written about contract tests, and most notably have never had any clear examples of them to share with you. I’d like to change that today.

Read on →

Read on →

Read on →

Comments

I upgraded to Mac OS 10.10 Yosemite and something strange happened with my installations of IntelliJ IDEA. They just disappeared. I still don’t know what happened to them. When I tried to reinstall IDEA 13 Community Edition, it crashed on launch.

Read on →

Read on →

Improving Names Comments

Almost everyone starts organizing their tests according to the module (or class or object) that they’re testing. If they have a class called Customer, then they have a test case class called CustomerTest and put all the tests for Customer into this one bundle (module, class, describe block, whatever you call it).

Read on →

Surviving Legacy Code Comments

Learn one proven approach to help with the age-old chicken-and-egg problem of “I want to refactor this legacy code, but I’m afraid to change it without tests” and “I want to write tests, but I need to introduce some structure in order to write reasonably-focused tests”.

Read on →

Read on →

Read on →

Read on →

Design credit: Shashank Mehta