Skip to content

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

Notifications You must be signed in to change notification settings

msakamoto-sf/gradle-junit-spock-testng-mixin

Repository files navigation

gradle-junit-spock-testng-mixin

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

For Maven3 users, see msakamoto-sf/maven3-junit-spock-testng-mixin

gradle -version:

Gradle 1.6
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
Ivy: 2.2.0
JVM: 1.7.0_25 (Oracle Corporation 23.25-b01)
OS: Windows 7 6.1 amd64

Play Guide

  1. Execute only JUnit(Java, Groovy) + Spock(Groovy) test cases
  • gradle -b build-junit-and-spock.gradle
  1. Execute only TestNG(Java, Groovy) test cases
  • gradle -b build-testng-only.gradle
  1. Execute TestNG(Java, Groovy) + JUnit(Java, Groovy) + Spock(Groovy) test cases at same time.
  • gradle -b build-junit-spock-testng.gradle

References

Java and Groovy source codes are copied from:

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published