Tag: specsfor.mvc

SpecsFor and SpecsFor.Mvc Updated!

Thanks to some nice pull requests by Gheorghe Bulicanu, both SpecsFor and SpecsFor.Mvc have been updated! SpecsFor 5.0.1 fixes the annoying issue regarding incompatibility with NUnit 3.0. The SpecsFor now correctly restricts to versions less than 3.0 (which isn’t currently supported.) SpecsFor.Mvc 4.8.0 includes updated Selenium WebDriver support, which will work with the latest versions…

Read More

Using SpecsFor.Mvc with Windows Authentication

Numerous people have requested that I put together a sample that illustrates how to use SpecsFor.Mvc with Windows Authentication.  Guess what’s in this post? [more] Specifying your own ApplicationHost.config file for SpecsFor.Mvc to use is the secret to getting Windows Authentication to work.  I’m going to assume you’ve already got your web project configured to…

Read More

SpecsFor.Mvc 4.5.0 Released!

A new build of SpecsFor.Mvc is now available on NuGet!  This release was made possible by contributions from the community, so a big “Thank You!” goes out to henkeson and neuhoffm!  Their contributions added support for: Project configurations that have non-standard solution locations (just call Solution.Named() or pass in the path to your solution directly!)…

Read More

SpecsFor.Mvc Updated (again!)

SpecsFor.Mvc 4.4.0 is now live!  This release includes improvements contributed by two very awesome individuals.  E-mail addresses containing a ‘+’ character now work correctly, and you can now wait for an element on a form to become visible using the fluent interface.  Read on to learn more about these changes! [more] First from Mark McCaigue:…

Read More

SpecsFor.Mvc and SpecsFor Helpers updated!

There are two new releases on the SpecsFor front today.  First, thanks to Neuhoffm again, SpecsFor.Mvc now supports radio buttons properly.  You can “check” a radio button by string value or by using a strongly-typed value: SUT.FindFormFor<Task>() .Field(m => m.Title).SetValueTo("use radio buttons") //By string… .Field(m => m.Complete, "false").Click() .Submit(); SUT.FindFormFor<Task>() .Field(m => m.Title).SetValueTo("use radio buttons") .Field(m…

Read More

SpecsFor.Mvc 4.2.0 Released!

There’s a new build of SpecsFor.Mvc available on NuGet tonight!  This version adds support for navigating to controllers within areas that are decorated with the RouteAreaAttribute class.  Now you can do things like NavigateTo<TController>() against controllers that are in areas without using the MvcFuture’s ActionLinkAreaAttribute. My thanks go out to Neuhoffm for this improvement!

Read More

SpecsFor.Mvc 4.1.0 Released!

Hot on the heels of SpecsFor.Mvc 4.0 comes the 4.1.0 release!  This is a minor update, but it adds a very-useful capability. [more] Selenium WebDriver has always had the ability to wait for certain events to occur, such as a particular element becoming “visible” so that it could be interacted with.  Unfortunately, the code for…

Read More

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