Testing your application is not necessary for it to work, but it is highly recommended and very good practice. Testing your application will help you develop better software and a much more reliable application. In the world of Rails, BDD (Behavior Driven Development) is very used as a testing and development method.
I recommend you two different test suites:
- The first rspec to help you with all your controllers and model unit testing
- Cucumber is a test kit that will test your application as a whole (integration test), this is great for a more "real life".
I recommend you check out Rspec and Cucumbers , there are other great test kits like the Test Unit .
Remember that testing your application will give you great benefits!
NOTE. Rspec and Cucumber are not mutually exclusive; in fact, they are recommended to be used together
source share