Dr Nic's Testing outbound emails with Cucumber
Lee Iverson in leei's Channel
Another testimonial for Cucumber integration testing and pointer to email_spec.
Captured on 12 Aug 2010 from drnicwilliams.com
For testing Rails apps, Cucumber defaults to using Webrat on top of Rails’ own integration sessions. With Webrat you actually test that your views match to your controller actions. If I click the “Submit” button, then it checks that it invokes an available action correctly. Before Cucumber I could appreciate the merit of Webrat alone, but the two tools combined are instant superheroes of my Rails development crime fighting team. That is, like any superhero TV show at least once every 30 minutes you find yourself saying “Thank you Mr Cucumber and your trusty sidekick Webrat, you’re my heroes”. (BTW, I’m not alone in this analogy)
Responses
- Order By
- First Post First
- Last Post First
Please Login to respond