STAMP-project / pitmp-maven-plugin

Maven plugin to handle multi module projects for PiTest
GNU Lesser General Public License v3.0
46 stars 14 forks source link

Integrationtests2 #34

Closed nicolabertazzo closed 5 years ago

nicolabertazzo commented 6 years ago

11 replace .sh tests with Java integration tests using org.apache.maven.shared:maven-verifier

@CaelInria please check the class https://github.com/nicolabertazzo/pitmp-maven-plugin/blob/integrationtests2/src/test/java/org/pitest/maven/PmpMojoIT.java

In this class I check pit and pitmp compatibility. The verify goal works in Linux and Windows System.

I suggest to replace all the .sh tests with tests implemented in Java.

Cael35 commented 6 years ago

Finally I have some time to review your Pull Request. :-)

Cael35 commented 6 years ago

So i ran:

mvn -Pverify install

and it failed mvn_install_verify.txt And anyway we don't need the profile any more. The profile was introduce because of Windows incompatibility, but with the Verifier approach, it shall be ran without the profile by 'mvn install'

Before merging the following issues shall be fixed:

Cael35 commented 5 years ago

The integration tests will be moved into another Maven project