owl
Jump to site navigation

Archive for Rails

Testing in Ruby on Rails

The main struggle I had when I first started coding in Ruby on Rails was working out how to use tests. Ruby, and Rails, have a great testing framework, but I had no background in knowing how, and what, to test. As I have progressed with the language I have become more confident in writing tests and I am now noticing the benefit of writing them.

A couple of the tools I use in testing are rcov and Heckle. Between these tools you can reveal just how well you are testing your Ruby application.
(more…)