Giter Club home page Giter Club logo

chorus-docker's Introduction

Chorus-Docker

Builds a Docker image which can be used to run the Chorus interpreter

https://hub.docker.com/r/chorusbdd/chorus-interpreter/

This can either be used standalone (to save installing java and Chorus on the local OS), or run alongside other services using docker-compose

This image contains the Java runtime and Chorus interpreter dependencies - everything needed to run Chorus!

Invoking Chorus

A good way to invoke Chorus is to

  1. Start a Chorus container as a daemon, mounting a directory of feature files you wish to run as a volume
  2. Run the tests, by executing the chorus command within the running container

This can be done with the following commands:

  • docker run -v /path/to/features:/features -d --name chorus-interpreter chorusbdd/chorus-interpreter
  • docker exec chorus-interpreter chorus -c -f /features

This command will run chorus in 'console' mode (-c) for pretty output, and execute the features mounted under /features (-f)

Adding to the Chorus classpath

To add custom step implementations in Java, you need a way to add handler classes and other resources to the Chorus classpath

Chorus will look for these under the paths /choruslibs and /chorusclasses, so you can:

  1. Mount a volume containing jars into the container at /choruslibs, or
  2. Mount a volume containing classes and other resources at /chorusclasses

If you wish to use Chorus built in SQL handler you will need to make JDBC driver jars available under /choruslibs

chorus-docker's People

Contributors

nickebbutt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.