-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John wrote: | The anwser to Phlips question is 'I don't know how to write unit | tests.' | | And I guess you'd like to know how to do that? Well, Ruby ships with Test::Unit http://ruby-doc.org/core/classes/Test/Unit.html Then, there's Shoulda: http://www.thoughtbot.com/projects/shoulda RSpec: http://rspec.info/ Just to name three options you have. ;) Ruby on Rails books usually cover Unit Testing (though, Rails brings its own additions to the framework!). And here's a quick guide to unit testing in Ruby: http://ruby.about.com/od/learnruby/p/learn_by_test.htm?rd=1 - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan Zoo: An excellent place to study the habits of human beings. ~ -- Evan Esar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgWj4YACgkQbtAgaoJTgL+XGwCfaRgvqP+ALvYgYc8hB58ZMxBL 28YAoI+/nR5jhs9OBcOf26v0uONYpRDL =GJO/ -----END PGP SIGNATURE-----