Pages

Tuesday, November 12, 2013

Debugging Before and After hooks in Cucumber

Had a heck of time trying to figure out why all my Cucumber steps were completing successfully, but my Cucumber scenario would fail. Seems that I had an issue with the web app that I was testing which would hit a REST endpoint asynchronously during the Cucumber scenario, causing an error. Cucumber seems to eat this normally, but running with the command line option of --format pretty dumps the backtrace of the exception. Blogging about this so I don't forget about it. Reference: https://groups.google.com/forum/#!topic/cukes/WTJDVWGQkTM

5 comments:

  1. Beautifull post,Thanks for sharing.
    Visit Best Astrologer in Peddapalli

    ReplyDelete
  2. Nicely well-written article.Keep sharing like this article.
    For sofa renovation visit thesofastore,the provieds best
    Best Sofa Repair Services in Viveknagar,Bangalore

    ReplyDelete
  3. Thank You Very Much For Sharing.
    For Best Painting Services in Bangalore.Contact us.

    ReplyDelete