I'm very new to BDD testing, and would like to ask, is it possible/OK to test ASP MVC3 actions directly (using WebClient
) using SpecFlow?
i.e.
Feature: Login
Scenario: Logging in
Given I post form to http://someurl/account/logon with parameters username='test' and password='123'
Then I expect it to be redirected to the http://someurl/home