I am new to Rails Testing.
Can anybody suggest a good reference link or some help to explain how I can start RSpec testing for my new project in Rails?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rails one of the best feature is TDD & BDD . You can do rails testing using RSpac:
1 – Rspecs basics : http://rspec.info/
2 – Rspec installation: https://github.com/rspec/rspec-rails with good examples
3 – Rspecs installation and how to use: http://jonathanhui.com/ruby-rails-3-testing-rspec-2