Skip to content

An example project for using Geb with cucumber-jvm

Notifications You must be signed in to change notification settings

geb/geb-example-cucumber-jvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Geb and Cucmber JVM Project

Build Status

Description

This is an example project for using Geb with the Cucumber-JVM testing framework.

Usage

This example is a Gradle project and uses the Gradle Cucumber Plugin. The project is using the Gradle wrapper, so if you don't need to have Gradle installed if you execute the appropriate script in the project directory and Gradle will be downloaded for you.

To run the tests, just run ./gradlew cucumber on *nix or gradlew.bat cucumber on Windows.

The following commands will launch tests browsers as headless:

./gradlew cucumber -Dgeb.env=firefoxHeadless
./gradlew cucumber -Dgeb.env=chromeHeadless

See the src/test/resources/GebConfig.groovy file for how to run the tests with different browsers.

Questions and issues

Please ask questions on Geb user mailing list and raise issues in Geb issue tracker.

About

An example project for using Geb with cucumber-jvm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •