Your current filters are…
by Thais Camilo
One of the most intimidating things to someone who is starting to learn Ruby on Rails is testing. Sometimes you don't know the answer to questions like: Why should I test? How should I test? What should I test?
When you finally get to the point where you can answer all of those questions, you start asking yourself: What's the difference between Unit Test and Integration Test, Rspec, TestUnit, Cucumber, and so on?
All of the new terms such as TDD, BDD, Unit Test, Integration Test, Mock, Stub, RSpec, TestUnit, Cucumber, Fixtures and Mocha makes no sense. Let's talk about this and clarify all the beginner's questions about testing.
Many test suites reach a point where they are no longer maintained because they either exhibit sporadic failures or becomes too slow.
There are well known practices for building and maintaining a large test suite, and here we will discuss many of them in the context of the Ruby tools available today.