Category: SpecsFor

SpecsFor.Mvc 4.0 Released!

The final build of SpecsFor.Mvc 4.0 is live on NuGet.  Here’s a recap of what’s changed. [more] Breaking Change: SpecsFor.Mvc is now built against ASP.NET MVC 5.2.  Remember, your web project does not have to be on 5.2 in order to use SpecsFor.Mvc, just your spec project. MvcWebApp.BrowserDriver now returns a RemoteWebDriver rather than just…

Read More

SpecsFor.Mvc 4.0 Coming Soon!

Hot off the NuGet press, it’s the first preview release of SpecsFor.Mvc 4.0!   This release introduces more configurability, exposes more state for your tests to examine, and (hopefully) greatly improves the initial setup experience by removing a lot of frustration. [more] Here’s a quick rundown on what’s change.  FluentField<T> now supports asserting off its value…

Read More

SpecsFor Releases!

I’ve been quietly shipping preview releases of new things for SpecsFor for the last couple of months.  It’s time to finally get these things promoted to “final” status and talk about them.  From better assertions to a whole new helper library, there’s a lot to talk about, so buckle up! [more] SpecsFor 4.1.0 Released! This…

Read More

SpecsFor Basics – Writing Your First Spec, Part 2

The documentation on SpecsFor is sorely lacking.  Me (and another volunteer!) are working to fix that.  This is part of a series of posts about SpecsFor, which will eventually make its way in to the official docs. [more] REMINDER: We are not worrying about TDD yet.  We’ll get there, but for now, I ask that…

Read More

SpecsFor 4.0.1 Released, SpecsFor.Templates 1.0.0 Released!

Two new releases today.  The first is a small improvement to SpecsFor, the other is a completely new ReSharper extension to jump-start your productivity with SpecsFor. [more] One of my focuses with SpecsFor right now is improving the startup experience for new developers.  The first (small) step towards that is a better readme. Another is…

Read More

SpecsFor Basics – Writing Your First Spec, Part 1

The documentation on SpecsFor is sorely lacking.  Me (and another volunteer!) are working to fix that.  This is part of a series of posts about SpecsFor, which will eventually make its way in to the official docs. In our last post, we looked at organizing specs in a typical web project.  We created two projects…

Read More

SpecsFor 4.0 Released

In what will assuredly be the most lack-luster major release of all time, SpecsFor has been bumped to version 4.0.  There are no new features in this update.  So why is this 4.0?  This new version uses StructureMap 3.0, which was not compatible with previous versions of SpecsFor.  Because of changes in StructureMap’s automocker, this…

Read More

SpecsFor Basics – Creating Your First Test Project with SpecsFor

The documentation on SpecsFor is sorely lacking.  Me (and another volunteer!) are working to fix that.  This is the first in a series of posts about SpecsFor, which will eventually make its way in to the official docs.  In this post, I’ll show you how to add SpecsFor to your project using NuGet, and I’ll…

Read More

SpecsFor and SpecsFor.Mvc Roadmap

Today, I took the first steps in laying out a roadmap for future work on both SpecsFor and SpecsFor.Mvc.  [more] First, I created a public Trello board to track ideas.  You can review the ideas I’ve tossed up there and vote on what you think is most important.  I see a couple of big themes…

Read More

Making TransactionScope Work with async/await in .NET 4.5

I ran into a frustrating little problem today.  I’m getting started with Entity Framework 6 and its async features on a new project, and my SpecsFor integration tests were bombing out unexpectedly.  In turns out the problem was caused by TransactionScope and async work together out of the box.  Or rather, how they don’t work…

Read More