title: Determine if a cucumber scenario has pending steps
body: <p>I would like to retrieve the scenario state in the "After" scenario hook. I noticed that the .failed? method does not consider pending steps as failed steps. </p>
  
  <p>So How can I determine that a scenario did not execute completely, because it failed OR because some steps were not implemented/defined. </p>