It is great to have you on board, Bryan!
-Owen
I’ve been a sponsored member of the Hobo team for about 2 weeks now. One of my first acts was to fix bug 368. In the process, I created Bug 400! It’s a good thing that one of my focuses will be to increase the Hobo test coverage.
Hobo has a set of unit tests and doctests. I’ve updated these so that they all pass. To run them:
rake test_all
You may have to install/upgrade rubydoctest:
gem sources -a http://gems.github.com sudo gem install bryanlarsen-rubydoctest
I’ve created several integration tests for Hobo. Integration tests live in Agility.
There are two different types of integration tests in Agility: Webrat and Selenium.
To run the webrat tests:
rake test:integration
To run the selenium tests:
vi config/selenium.yml # edit appropriately script/server -e test -p 3001 & rake test:acceptance
It is great to have you on board, Bryan!
-Owen
[...] Unit tests have been updated, and integration tests have been added. More information is available in this post. [...]
[...] Significant effort was put into unit and integration tests in this release. [...]
That’s very promising. One of my major beefs with Hobo from the 0.5.x days was that the highly-factored code combined with the complete lack of tests (or if there were any, they weren’t included in the plugin) made debugging unnecessarily difficult. Perhaps I’ll give Hobo another look when 1.0 comes out.