title: How to write stories / scenarios in BDD ( Behavior Driven Design )
body: <p>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.   </p>
  
  <p>Can you give some stories / scenarios that you would write for say a simple login application using BDD? </p>
  
  <p>For example, from what I have read, it seems that is good: </p>
  
  <blockquote>
    <p>When a user enters an invalid userid/password, then display an error
    message.</p>
  </blockquote>
  
  <p>As opposed to:  </p>
  
  <blockquote>
    <p>Validate id and password by searching for a matching record in the
    database.</p>
  </blockquote>