How to get started with TDD using Ruby?

I want to know your recommendations to start with TDD in Ruby (not Rails), so I know a little about what TDD is, but I'm looking for a tool to use for this, do you know any tutorial for this?

+4
source share
2 answers

I learned Ruby using Ruby koans and they are a great way to learn Ruby with TDD. But never ignore RSPEC.

+6
source

Have you seen rspec ? It is controlled by behavior (which is so slightly different from the test one), but the main thing is that you write your tests first, and he constantly runs them and provides feedback (using autospec in a separate window) when you write your code.

0
source

All Articles