for integration Test coverage

manish_thakur123 December 5, 2017

1.mvn clean clover:setup verify clover:aggregate clover:clover -Dmaven.test.failure.ignore=true -pfulltest

2.mvn clean clover:setup test clover:aggregate clover:clover -Dmaven.test.failure.ignore=true -pfulltest

please explain above commands .

 

i am getting diff number of tests in generated report for  both.

i shall be thankful to you for this .

 

Thanks

1 comment

Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 2017

From Clover perspective there's no difference. The difference is in your configuration and in tests you run. 

Standard practice is to run integration tests in integration-test phase. I suppose this is happening in your case. Therefore when you run test phase, integration tests aren't executed, but in when you invoke verify  phase, integration-test phase is prior to that and they shall be executed. 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events