mvcConf 2 - Brandon Satrom: BDD in ASP.NET MVC using SpecFlow, WatiN and WatiN Test Helpers
- Posted: Feb 14, 2011 at 11:16 AM
- 35,232 Views
Right click “Save as…”
In recent years, the friction of creating scenarios in BDD, and in using those scenarios to author tests, has been reduced greatly. Developers now have tools that enable specifications to be written using a structured, English syntax, and to use those specifications as the tests that prove out the code. These domain-specific languages now enable us to create executable specifications first in the process, followed by building out only that functionality which meets the specification, resulting in fewer, more value-focused tests. This presentation will introduce Gherkin, SpecFlow and WatiN, and provide examples of how these three tools can be used to create BDD-style in ASP.NET MVC applications. Gherkin and SpecFlow provide the framework for writing and executing specifications within Visual Studio, while WatiN allows us to write tests that drive a web browser automatically, giving us automated, end-to-end testing of the public features system.
Recorded live via Live Meeting as part of mvcConf 2
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?