← Back to team overview

dhis2-devs-core team mailing list archive

Re: Category for slow tests

 

Nice.


On Thu, Jan 2, 2014 at 3:59 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>wrote:

> Hi
>
> I have added a new marker class to use with slow tests / integration tests
> called IntegrationTest.
>
> This is used by tagging the class or method with:
> @Category( IntegrationTest.class )
>
> They will then be excluded by default, and must be run by turning on the
> profile "integration".
>
> mvn test -Pintegration
>
> --
> Morten
>
> --
> Mailing list: https://launchpad.net/~dhis2-devs-core
> Post to     : dhis2-devs-core@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs-core
> More help   : https://help.launchpad.net/ListHelp
>
>

References