/maven3-junit-spock-testng-mixin

Maven3 example project for executing TestNG(Java, Groovy) + JUnit(Java, Groovy) + Spock(Groovy) test cases at same time.

Primary LanguageGroovy

maven3-junit-spock-testng-mixin

Maven3 example project for executing TestNG(Java, Groovy) + JUnit(Java, Groovy) + Spock(Groovy) test cases at same time.

For Gradle users, see msakamoto-sf/gradle-junit-spock-testng-mixin

mvn -version:

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T01:41:47+09:00)
Maven home: /home/msakamoto/devtools/apache-maven-3.3.9
Java version: 1.8.0_77, vendor: Oracle Corporation
Java home: /opt/jdk1.8.0_77/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.13.1.el7.x86_64", arch: "amd64", family: "unix"

Play Guide

  1. Newer-Solution (2016 version)
  • mvn (-f pom.xml) test
  1. Another-Solution (2011 - 2012 version)
  • mvn -f pom-another-solution.xml test

References

More-Newer-Solution (2016 version):

Newer-Solution (2013 version):

Another-Solution (2011 - 2012 version):