Skip to content

Nekroze/containaruba

Repository files navigation

Containaruba

This repo provides a docker image for testing CLI applications using Aruba which extends Cucumber to better handle CLI applications after checking all Gherkin conforms to a consistent style via Cucumber Lint all while wearing sunglass, even indoors!

Usage

This container can be used to execute the feature files for any project that uses Aruba.

Setup

Primarily designed to get you running your tests as soon as possible. So the recommended usage is to volume mount your features directory into /usr/src/app/features and run Containaruba. You can see an example of this being done in docker-compose.example.yml as a reference.

Alternatively the image contains an ONBUILD Directive that will copy a features directory into the new image for you, ready to run. Simply use nekroze/containaruba:latest in your FROM Directive.

Execution

By default the image will execute all features in the /usr/src/app/features path however you can override the default CMD to specify a specific feature file.

Features

For some basic examples and information on what this image can do, checkout its own featuresthat get tested.

Development

You can execute the tests to ensure no regressions in Containaruba by executing:

 $ ./test.sh

The main repository is also automatically tested by Travis CI using the exact same script.