Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I think with time I'll figure out what granularity level is best. It's good to hear from others that are regularly creating tests that they approach it sensibly and not robotically write tests for every conceivable outcome. My first introduction to tests was on that kind of level where everything-must-be-tested. In fact, the whole concept of TDD seems to follow that mantra. Commented Apr 8, 2011 at 17:08
  • I think you might benefit from using a Framework like SubSpec (it's BDD inspired), so that will allow you to get Assert ("SubTest") Isolation whilst sharing context setup. Commented Apr 13, 2011 at 12:59