BDD from scratch - mock management(blog.robustsoftware.co.uk)
submitted by
Mintman(280) 2 years, 8 months ago
In part one I covered how to organise your tests into the Given-When-Then style through the use of an abstract base class. In this post I’m going to show how you can manage your mocks more efficiently. Though not really a part of BDD I’ve found it very useful in clarifying the behaviour described in my tests as it reduces the amount of noise caused by the definition of variables.
|category: Unit Testing
|Views: 7
tags:
Testing another
Everyones tags:
Your Tags: