Skip to content
/ gsdr Public

A Docker container for easily running Geb-based Spock-specs in a headless Chrome environment.

License

Notifications You must be signed in to change notification settings

netzgut/gsdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSDR, the Geb-Spock-Docker-runner

A docker container for easily running Geb-based Spock-specs in a headless Chrome environment.

Build (optional)

docker build -t netzgut/gsdr:latest

Configure

You need to map 3 locations into the container:

Container-Location Description
/runner/src/test/groovy Contains the tests
/runner/build/reports Output folder for the test reports
/runner/build/testResults Output folder for the test results

Base Url and dependencies

To configure the base url and additional dependencies needed by the specs you should map a runner-settings.gradle file to /runner/runner-settings.gradle. See runner/runner-settings.gradle for an example.

Use

docker run \
    -v <path to specs>:/runner/src/test/groovy \
    -v <path to specs>:/runner/src/test/groovy \
    -v <path for output>/reports:/runner/build/reports \
    -v <path for output>/testResults:/runner/build/testResults \
    netzgut/gsdr:latest

License

MIT. See LICENSE.

About

A Docker container for easily running Geb-based Spock-specs in a headless Chrome environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages