[Ruby] hoe and tests

Timothy J. Wood tjw at omnigroup.com
Tue Oct 31 22:39:04 PST 2006



   I packaged my gem and installed it locally, but when I do 'gem  
check -t' on the installed copy, no tests are found.  Presumably the  
issue is that there is no test_file set on the gem spec.

   Adding this to my spec_extras fixes the problem:

     :test_files => Dir[*p.test_globs]

   so maybe this should be in 'hoe'.

-tim



More information about the Ruby mailing list