You shouldn't need to install anything to run cobertura, you might need to write this in your Buildfile:
require "buildr/java/cobertura" As cobertura is not loaded by default. On Mon, Sep 6, 2010 at 07:55, Mark Petrovic <[email protected]> wrote: > I looked with interest on this command in the 1.4.1 buildr reference > > $ buildr test cobertura:html > > but found it produced this when invoked: > > Buildr aborted! > RuntimeError : Don't know how to build task 'cobertura:html' > > I tried to remedy with a best guess > > $ sudo gem install cobertura > ERROR: Could not find a valid gem 'cobertura' (>= 0) in any repository > > (would have much preferred > > $ sudo gem install cobertura --dryrun > > but that option apparently does not exist with 'install'. > ) > > What prerequisite steps do I need to perform to run cobertura coverage on > my code? > > > -- > Mark Petrovic > > >
