Machine.Specifications (mspec for short) is a testing framework that allows you to write behavior specifications to drive development.
I haven’t been able to find a central source for information on mspec, so I wanted to provide this quick list of links. Eventually, I plan on releasing some of my own information on mspec, so stay tuned.
Download
- GitHub Page
- Download most recent source code (master)
- Download most recent build (release)
- Installer by Marcin Obel
General Documentation
- Machine.Specification Readme.Markdown – Aaron Jenson recently sent out a plea for someone to help pull together resources on MSpec. Hopefully this article can provide some basis for what Aaron is looking for.
ReSharper Integration
- MSpec Live Templates – If you use ReSharper, then you probably know what Live Templates are. This article demonstrates one way to create a Live Template for a spec.
- Resharper Naming Style for Machine.Specifications
- Getting ReSharper and VS to play nice with MSpec
NUnit
Extensions/Plugins
- Introducing Machine.Specifications.Mvc – Some MVC-specific extensions for use with mspec. Worth a look.
Stackoverflow.Com Questions
- Search stackoverflow.com for ‘mspec’.
- With or without NUnit
- How to integrate MSpec with MS Build?
- When using a mocking framework and MSPEC where do you set your stubs
- What’s the most mature BDD framework for .NET?
- What’s the best way to implement BDD/TDD in .NET?
Examples
- BDD and Mspec… Meet Custom ModelBinder – Part 1, Part 2, and Part 3
- Make BDD Your BFF
- Learning Behavior Driven Development (with downloadable screencast)
- Building a MVC2 Template, Part 4, BDD with MSpec
- An Evolution of Test-Specification Styles – My Journey to MSpec
- MSpec and Auto Mocking
- Anagram Code Kata – BDD & MSpec
- Using MSpec to Solve Kata Potter Part 1: The Specifications
- FizzBuzz Kata using mspec by Aaron Gross
Awesome summary, thanks! I see it’s your first post, too – congrats! Hope your blog becomes a great place to hang. Cheers
This was quite helpful. Thanks.
Thanks for putting this together Byron.
Excellent links and definitely digging your blog theme. Perhaps we could add some of these links to the MSpec readme.
Absolutely, Scott. Let’s make mspec more mainstream.