fail() failed…

Antony Marcano’s written a great post on testing for exceptions in a way which makes the example much easier to read, and keeps the Given / When / Then flow intact. I like this very much, and will be doing it this way from now on (aversion to defensive programming notwithstanding).

This entry was posted in bdd. Bookmark the permalink.

2 Responses to fail() failed…

  1. liz's avatar liz says:

    Fixed, thanks Nate!

Leave a comment