← Back to team overview

dhis2-devs team mailing list archive

Re: [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1986: Add Cobertura Maven Plugin to DHIS 2.0.

 

Hello folks,

I added Cobertura to DHIS 2.0. This is a free Java tool that calculates the
percentage of code accessed by tests,
then generates reports, gives us a total view of our code. Should help us
much in improving code quality.

Usage:
*mvn cobertura:check* Check the Last Instrumentation Results.
*mvn cobertura:clean* Clean up rogue files that cobertura maven plugin is
tracking.
*mvn cobertura:dump-datafile* Cobertura Datafile Dump Mojo.
*mvn cobertura:instrument* Instrument the compiled classes.
*mvn cobertura:cobertura* Instruments, Tests, and Generates a Cobertura
Report.

Generated reports are located in target folder.

Best regards,
Quang

On Mon, Jun 14, 2010 at 9:55 PM, <noreply@xxxxxxxxxxxxx> wrote:
>
> ------------------------------------------------------------
> revno: 1986
> committer: Quang <Quang@Quang-PC>
> branch nick: trunk
> timestamp: Mon 2010-06-14 21:53:27 +0700
> message:
>  Add Cobertura Maven Plugin to DHIS 2.0.
> modified:
>  dhis-2/pom.xml
> The size of the diff (1273 lines) is larger than your specified limit of
1000 lines
>
> --
> lp:dhis2
> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
>
> Your team DHIS 2 developers is subscribed to branch lp:dhis2.
> To unsubscribe from this branch go to
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp

References