First Day of the Craftsman Swap
Day One of the Craftsmanship Swap : Today Micah and I paired on test driving a user interface through FitNesse . The UI in question is a JRuby rich client application that had reached the point where they wanted to have some acceptance tests that fire it up, click around, and assert that things are where they should be. We used DRb to stow away a reference to the application when it started up and then we could make the application dance. If you haven't used DRb it's yet another deceptively simple and powerful Ruby tool. Check this out: ~ $ irb >> require 'drb' => true >> object = "hello" => "hello" >> DRb.start_service('druby://localhost:9001',object) => # >> ref = DRbObject.new(nil, 'druby://localhost:9001') => # >> ref.size => 5 >> ref.to_s => "hello" Stick any object in and then another Ruby process can pick it up and do stuff with it. Neat. I noticed 8th Light...