This is a sample testing project using Gauge JavaScript and Taiko. This project tests some of the functionalities of the active admin demo application.
The tests are run on Chrome by default.
This example requires the following softwares to run.
Clone this repository and initialize the active admin app sub repository
git submodule update --init
This example illustrates running Gauge specs in a docker-compose setup.
The topology:
db
: holds a postgres instanceapplication
: a Ruby on Rails demo applicationtest
: contains the gauge-taiko tests that verifies againstapplication
To execute:
docker-compose run test || docker-compose down
Note: test
is the name of the service defined in docker-compose.yml
, and can be changed
- Concepts
- Specification, Scenario & Step usage
- Table driven execution
- External datasource (special param)
- Running Gauge specs with NPM