Fork me on GitHub
Automated Acceptance TestsMade Easy

Create fully-automated acceptance tests using tools and syntax you're already comfortable with.

More Info

What is it?

SpecsFor.Mvc enables you to create automated acceptance tests using browser automation, meaning your entire application is tested from the UI all the way down to the database, exactly as a real user will use your application. However, unlike many other solutions which rely on recording actions or require you to learn a completely new framework and syntax, SpecsFor.Mvc uses familiar unit-testing tools and syntax. There is no "record" mode. You write strongly-typed tests against your ASP.NET MVC controllers, action methods, and view models, and SpecsFor.Mvc takes care of translating your tests to the browser.

All the hard work is done for you. Simply write your strongly-typed integration tests the same as you would write a normal unit test, then sit back and watch as SpecsFor.Mvc applies your Web.config transforms, hosts your app, and kicks off your suite of tests in the browser of your choice.


There's no complicated setup. Everything you need is in one simple package. You can start writing fully-automated acceptance tests right now, just install the SpecsFor.Mvc NuGet package!

PM> Install-Package SpecsFor.Mvc


SpecsFor.Mvc is a stand-alone library, but it plays very well with the SpecsFor framework, as the following example illustrates:

More information and examples are coming soon!