Welcome to MSDN Blogs Sign in | Join | Help

Eric Lee

Thoughts on Agile development, Scrum, ALT.NET, and whatever else comes to mind.

Browse by Tags

All Tags » BDD   (RSS)
BDD Specification Extensions
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...
Handling Exception in BDD-style Tests
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...
BDD With MSTest
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...
Writing Unit Tests That People Can Read
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...
Page view tracker