buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freaky-namuH <acambr...@gmail.com>
Subject Cobertura integration
Date Tue, 15 Apr 2008 12:22:38 GMT

Hi All,

I'm having trouble tracking down easy examples of doing things such as
running code coverage with unit tests.

I know you can do a simple "buildr cobertura:html" which works well,
but what I'd like is to run cobertura as part of the normal test
cycle.  i.e. buildr build , which then does cobertura:html,
junit:report and anything else.

Where do I add it within my module block?

  define "my-project" do

    compile.with  # Add classpath dependencies
    resources

    test.compile.with # Add classpath dependencies
    test.resources
# cobertura:html
    package(:jar)
  end

Cheers,

Ashley 
-- 
View this message in context: http://www.nabble.com/Cobertura-integration-tp16700152p16700152.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Mime
View raw message