4

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

MrSmith42
  • 9,961
  • 6
  • 38
  • 49
forellana
  • 937
  • 1
  • 8
  • 19

2 Answers2

6

I learned Ruby using Ruby koans, and they are an awesome way to learn Ruby with TDD. But never ignore RSPEC.

Community
  • 1
  • 1
zengr
  • 38,346
  • 37
  • 130
  • 192
0

Have you seen rspec? It's behavior-driven (which is ever so slightly different from test-driven) but the main point is that you write your tests first and it constantly runs them and provides feedback (using autospec in a separate window) while you write your code.

David
  • 208,112
  • 36
  • 198
  • 279