I am about to use BDD (Behavior Driven Design) for the first time and am trying to get used to this different way of approaching a problem.

Can you give some stories / scenarios that you would write for say a simple login application using BDD?

For example, from what I have read, it seems that is good:

When a user enters an invalid userid/password, then display an error message.

As opposed to:

Validate id and password by searching for a matching record in the database.

Edit
Report