Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.36 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.36 KB

Courgette-JVM with Gradle Example

An example project showing how to use Courgette-JVM with Gradle.

System Requirements

  • Google Chrome
  • MacOS / Windows / Linux

Test Execution

  • 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

Test Execution in Docker

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