In Defense of Test Setup Methods

added by Paul Wheeler
8/18/2014 9:12:07 PM

3 Kicks, 82 Views

This post started out as a response to a comment on this post, but it started to get rather long for that venue, so I’m making it its own post. The comment concerns my habit of pulling instantiation logic for the class under test into a common setup method executed by the test runner prior to each test.