Dockerizing BDD : Ruby-Cucumber Example

12th November 2015 in London at CodeNode

There are 16 other SkillsCasts available from Agile Testing & BDD eXchange 2015

Please log in to watch this conference skillscast.

543814361 640

One of the key benefit of the BDD is automated feature files or automated scenarios. Some scenarios we need to run in different browsers or with different setup. It would be awesome if we have virtual images provisioned with all our scenario execution requirements and we can achieve that with Docker.

Docker containers can be used for running automated scenarios with different drivers, browsers or configs. e.g PhantomJS, Selenium, etc.

This talk will cover:

  • Introduction to Docker

  • Benefits of using docker containers for running Cucumber scenario

  • Preparing Cucumber environment for docker

  • Creating docker images e.g https://hub.docker.com/r/shashikant86/

  • Downloading image and run docker containers

  • Executing Cucumber scenarios inside Docker containers

Demo: Running Cucumber scenario heedlessly with Poltergeist


Thanks to our sponsors

Dockerizing BDD : Ruby-Cucumber Example

Shashikant Jagtap

Shashikant is a software professional, he loves automating software delivery using DevOps and test automation tools. Shashikant uses Apple Developer tools like Swift, Xcode, XCTest, Xcode Server. In addition to Open-Source Contributor and is the author of BDDfire (Ruby) and XCFit (Swift) framework.