Skip to content

prashant-ramcharan/courgette-jvm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Courgette-JVM Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published