An example project showing how to use Courgette-JVM with Gradle.
- Google Chrome
- MacOS / Windows / Linux
-
Parallel Feature Execution using JUnit
-
Option 1: Run suites/junit/FeatureSuite.java like a normal JUnit test.
-
Option 2: Execute gradle task
gradle runFeaturesUsingJUnit
-
-
Parallel Scenario Execution using JUnit
-
Option 1: Run suites/junit/ScenarioSuite.java like a normal JUnit test.
-
Option 2: Execute gradle task
gradle runScenariosUsingJUnit
-
-
Parallel Feature Execution using TestNG
-
Option 1: Run suites/testng/FeatureSuite.java like a normal TestNG test.
-
Option 2: Execute gradle task
gradle runFeaturesUsingTestNG
-
-
Parallel Scenario Execution using TestNG
-
Option 1: Run suites/testng/ScenarioSuite.java like a normal TestNG test.
-
Option 2: Execute gradle task
gradle runScenariosUsingTestNG
-
The following command will run all tests in a Docker container with 3 Courgette threads
and CourgetteRunLevel.SCENARIO
docker-compose up --abort-on-container-exit --remove-orphans