From: Ross Bamford Date: 2006-01-11T23:18:05+09:00 Subject: Re: Testing Gems On Wed, 11 Jan 2006 13:45:04 -0000, Caleb Tennis wrote: > According to http://docs.rubygems.org/read/chapter/20#test_files, the > test_files section of the gemspec file lists test files that are loaded > "when > the user requests a gem to be unit tested". > > Is there a gem command to run the tests? I can't see one listed in the > help, > but I may just be missing it. > Try something like: $ gem install --test somegem There is detail with: $ gem help install $ gem help examples If the tests succeed, there's no output (at least by default?) but they do run if they're there (after Rdoc I think). Cheers, -- Ross Bamford - rosco@roscopeco.remove.co.uk