On Mon, Jul 27, 2009 at 12:39 PM, Marcelo de Moraes
Serpa wrote:
>
> So, it is not a matter of "checking the user is not authenticated",
> but of "setting the ground and making sure the user is not
> authenticated", which of course, means loggin out the user on this
> given step to make sure it is
Hey list!
Let's say I have a user story for authentication/login.
I have seen many cucumber scenarios like this:
Scenario: User logs in succesfully
Given I am not authenticated
When I go to the login page
...
>From what I have seen, the Given steps that check that the user is not
authenticated