Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] skipTests vs. maven.test.skip?

the two switches are there for historical reasons in maven-surefire-plugin.

 

as tycho-surefire-plugin tries to be compatible/close to maven-surefire-plugin as it evolves, we more or less inherited the two switches in Tycho.

In Tycho, both have the same effect - tests are compiled but not executed.

 

The tycho site docs may need clarification though wrt compiling tests and running tests.

 

Regards,

Jan

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Lars Vogel
Sent: Dienstag, 19. August 2014 12:14
To: Tycho user list
Subject: [tycho-user] skipTests vs. maven.test.skip?

 

Hi

 

If I read http://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html it looks like the Maven documentation recommends to use skipTests instead of maven.test.skip.

 

Quote: If you absolutely must, you can also use the maven.test.skip property to skip compiling the tests. 

 

Anyone aware why using skipTests should be preferred? In our platform build we use maven.test.skip [1].

 

Best regards, Lars

 

 

 


Back to the top