Lightweight drop-in behat container for docker projects. Fork of Bergil32/docker-behat
911
Fork of https://github.com/Bergil32/docker-behat with the following changes:
composer install on entrypointTo use in a project:
behat and copy this project's docker-compose.yml and composer.json into that directory.behat.yml, composer.json as needed and add tests into the /features directory.your-projects-network-name with the network name of the default network for your root docker-compose.yml fileselenium/standalone-chrome to your root dockerfile)cd behat && docker-compose up.This is tiny behat image based on Alpine Linux with PHP7.
This image includes:
Behat cucumber json formatter
Also, run script uses official selenium/standalone-chrome image.
git clone https://github.com/Bergil32/docker-behat.git
Put your custom contexts into "features/bootstrap/" folder if needed.
Configure behat.yml for your custom contexts.
Put your tests into "features/" folder and remove Test.feature.
Run the shell script.
sh run.sh
Reports and text files with information about screenshots are saved in artifacts/ folder.
Screenshots will be uploaded to https://wsend.net/.
Additional thanks to Serge Skripchuk for his help.
Content type
Image
Digest
Size
15.6 MB
Last updated
about 10 years ago
docker pull savaslabs/docker-behat