Skip to content

Shashikant86/docker-bdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Docker-BDD

Hook BDD with Cucumber and friends in the Docker.

This docker image will setup following technology stack.

  • Ubuntu with Ruby

  • Ruby

  • Rubygem

  • PhantomJS

  • Cucumber Capybara Poltergeist framework with BDDfire

How to use

Pull the docker image from DockerHub

        $ docker pull shashikant86/docker-bdd

Now wait for all provisioning done for you.

Once image is succesfully downloaded.

Inside the Container

You can run

          $ docker run -t -i shashikant86/docker-bdd /bin/bash

Now you are inside the docker container and in '/opt/bdd/cucumber' directory.

Now you can run all BDDfire[https://github.com/Shashikant86/bddfire] rake tasks. Now we will use Poltergeist

           $ bundle install 
           $ bundle exec rake poltergeist

Outside the container

          $ docker start {Container_id}
          $ docker exec {Container_id} bundle install
          $ docker exec {Container_id} bundle exec rake poltergeist

About

Hook BDD into docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published