Browse by Tags
All Tags »
BDD (RSS)
A few people have asked me for more details on the specification extension methods we use to make our BDD tests more readable. As I mentioned previously, SpecUnit.net is a great library that has all kinds of useful extension methods, but it’s written
Read More...
Exceptions cause problems with BDD-style tests in the MSTest environment. The MSTest [ExpectedException] doesn’t work well in this case since the exception will be thrown in the BecauseOf() method, which MSTest considers to be part of the initialization,
Read More...
In my previous post I mentioned that I was writing BDD-style unit tests in the standard MSTest environment that’s part of Visual Studio. In an ideal world, I’d probably choose to use a test framework explicitly designed for BDD like MSpec , but there’s
Read More...
There’s a great quote from Refactoring: Improving the Design Of Existing Code: “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” -- Martin Fowler Recently, I’ve discovered that it applies
Read More...