Cool Tools: MSpec & Fluent

MSpec (Machine Specifications.NET) is a testing library that is based on Behavior Driven Development (BDD) techniques. The idea behind BDD is that given a certain context, because of given scenario, the software should work a certain way. Through better readability, specifications set forth by business stake holders and other concerned parties, can be directly translated into tests. MSpec is a .NET testing library that supports BDD-style tests.

Fluent Validation for .NET is a fluent-based library that allows us to separate the validation rules from our domain models. Because of this separation, we can achieve testability and reuse. Through it’s fluent interface, the validation rules become more readable.

John Petersen

John Petersen has been developing software for 20 years, starting with dBase, Clipper and FoxBase + thereafter, migrating to FoxPro and Visual FoxPro and Visual Basic. Other areas of concentration include Oracle and SQL Server – versions 6-2008. John is the Philadelphia Microsoft Practice Director for CEI America (, a Microsoft Gold Partner. From 1995 to 2001, he was a Microsoft Visual FoxPro MVP. Today, his emphasis is on ASP MVC .NET applications. He is a current Microsoft ASP .NET MVP. In 1999, he wrote the definitive whitepaper on ADO for VFP Developers. In 2002, he wrote the Absolute Beginner’s Guide to Databases for Que Publishing. John was a co-author of Visual FoxPro Enterprise Development from Prima Publishing with Rod Paddock, Ron Talmadge and Eric Ranft. He was also a co-author of Visual Basic Web Development from Prima Publishing with Rod Paddock and Richard Campbell. In 2004, John graduated from the Rutgers University School of Law with a Juris Doctor Degree. He passed the Pennsylvania and New Jersey Bar exams and was in private practice for several years.