I never worried about testing because my applications were relatively simple, and I wanted to focus on studying rubies and rails and developing functionality. I want some tools / gems to be relatively easy to use. Ideally, I want:
I am thinking of MiniTest (or RSpec?) For the first two, adding Capybara to test integration, and I have no idea about the last two.
I use:
!
ruby-toolbox.com , " " " ". , .
SimpleCov Guard .
, , , BDD (Behavior Driven Development)? TDD (Test Driven Development)?
, , . Google, , , .
BDD , Cucumber , RSpec .
, "RSpec Book" - , RSpec, Cucumber, Webrat ( capybara, ) Selenium.
, , ...
. .- RESTful, API.
, , .
.
rspec .
, Guard .
- . , Rails, .
:
I have seen many unsuccessful testing attempts, but I have never seen them unsuccessful because they are choosing the wrong tool / framework. They fail because they don’t know how to master the tools that they use and are pretty good at the basics of testing.
Learn more about testing Rails here.http://guides.rubyonrails.org/testing.html