Fatal – you don’t have any automated test cases
Recoverable – you have some sorts of test suite in place
Best – you are already using unit/integration tests or have TDD/RSpec in place
Without wasting words, I’d put you right to the Cucumber and Webrat goodness…
Points worth noting…
- This was ALL the code I wrote to test the login scenario
- The webrat helper (generated by Cucumber) did most of the work (steps 2, 4, 5) – out of the box!
An excellent screencast you should see if you are interested in BDD for your Rails app with Cucumber and Webrat
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.



Comment Form