I want to write acceptance tests, with SpecFlow (Gherkin) to verify different scenarios. Especially I want to verify the login process, that uses persistant cookies and sessionstate.
I’ve done something similar with services, where I programmatically started each service needed for the test, in a servicehost. This enables me to manipulate the IoC container before the service is instantiated.
I want something similar for my MVC controllers. Does anyone have any experience with this sort of testing in MVC 4?
Check out Selenium WebDriver
Here is an example with Chrome Driver: