I want to be clear about RSpec.

Can you say the easiest tutorial/guidance to learn RSpec? Actually I'm reading 'The RSpec Book', there are two things explained 'RSpec' and 'Cucumber'.

1. Should I learn both of these for testing? 2. What is the forum to RSpec? 3. What's the first to write, .rspec or .rb?

Can you say the easiest tutorial/guidance to learn RSpec? Actually I'm reading 'The RSpec Book', there are two things explained 'RSpec' and 'Cucumber'.

1. Should I learn both of these for testing?

A while back, someone wrote something I found very insightful and useful, to the effect of: don't think of Cucumber as a *testing* tool, but rather a *collaboration* tool. Having tested many projects with and without it, I've formed my opinion:

If you have a non-technical stakeholder who wants to get involved in reading, and maybe even writing, the actual tests themselves (not a summary, report, translation, etc.), then Cucumber is an excellent tool to let them do so, at the top layer (don't let them at the step definitions!). However, in the *other* 99.999% of cases, it's just not worth the hassles.

3. What's the first to write, .rspec or .rb?

RSpec tests are often also .rb files. Or do you mean test-code versus production-code? That's a whole 'nother argument, bringing up Test-First vs. TDD vs. BDD vs. ATDD. It's enough to give you ADD!

-Dave