Fire up BDD inside Docker with Cucumber and BDDfire

Fire up BDD inside Docker with Cucumber and BDDfire

Automation, BDD, DevOps
The key benefits of Behavior-Driven-Development (BDD) practices are communication enhancement and customer satisfaction. You can read more on that by Dan North and Gojko Adzic. Perhaps the biggest practical challenge that stands in the way of reaping those benefits is the burden of provisioning, installation, maintenance of requisite complex and fussy infrastructure and setting up reliable test infrastructure. Cucumber is one of the most popular BDD framework available in the market to achieve the benefits from BDD practices. The problem is software teams seems to spend lot of the time setting up Cucumber and necessary toolkit around it. The management has to decide the tools and engineers have to research all the available tools to support agile practices like CI, code quality, test reporting, parallel execution, devOps integration. The process of getting BDD…
Read More

Building packages with Swift Package Manager and Docker without Xcode

Automation, iOSDev
Swift Package Manager Apple has recently open-sourced Swift and announced it's own package management tool called "Swift Package Manager". Swift has became cross platform and can be built on both macOS and Linux so Swift Package Manager can be Dependency Manager Build Tool Test Tool IBM is currently working hard to provide centralised repository for hosting those package and creating server side frameworks. The best place to learn about all the recent activity is 'swift.org'.  In this tutorial, we will create a Swift package on using Docker. Swift Package and Docker As Swift became server side, we can build it on the docker containers. In this short tutorial we will use IBM Swift3 Ubuntu Docker image to build a simple package. Let's create a directory called 'SwiftPM-Docker' and create a…
Read More

Get started with brand new Jenkins 2.0 with Docker

Automation, DevOps
Jenkin 2.0 The new version of the Jenkins a.k.a Jenkins 2.0 will be released very soon. Jenkins 2.0 will be bringing us some new amazing features. Pipeline as Code  Improved User Interface and User Experience  Security & plugin Enhancements  New Jenkins WebSite as one stop for getting started guide The detailed information about the new release can be found out here In this post, let's try out new version of the Jenkins with it's own Docker image. Jenkins inside Docker The fastest way to get started is getting the docker image and run containers. The CloudBees has already created a Docker image jenkinsci/jenkins with tag of '2.0-beta-2'. Assuming that, you have Docker ToolBox or similar setup on your machine, you can get the latest image. You can follow my previous post on practical…
Read More

BDDfire 2.0 with Docker, Gatling and Accessibility support

Automation, BDD, DevOps
BDDfire BDDfire allows us to setup Ruby Cucumber framework within a minute with all related toolkit. It became very popular as it gives us ability to setup Ruby-Cucumber framework without wasting time while setting up test framework for new projects. You don't have to spend months and months setting up your frameworks and research the tools. BDDfire currently has more than  69,000 downloads and glad to know that few companies already started using it. What's new in BDDfire 2.0 Today, I am glad to announce BDDfire 2.0 with Docker, Gatling and Accessibility support. It means with BDDfire you can perform Load testing, Accessibility Tests and execute your scenarios inside the docker containers. You can find all the details on README file on Github. With BDDfire 2.0  you can Setup instant Ruby-Cucumber…
Read More

Dockerizing BDD : Presentation at #BDDX15 Conference London

Personal
Agile Testing and BDD Exchange 2015 Agile testing and BDD Exchange 2015 conference has been organised at SkillsMatter, London on 12th and 13th November 2015. It was very informative event and mainly it was well organised by SkillsMatter. The details of the programmes are here, I am pleased to attend and speak at the BDD Exchange 2015. I have presented on the topic 'Dockerizing BDD: Ruby Cucumber Example'. The slides and video of the presentation is available now. Dockerizing BDD : Ruby Cucumber Example The slides of my presentation are available on SlideShare. http://www.slideshare.net/Shashikant86/dockerizing-bdd-rubycucumber-example SkillsCast - Video of the talk The video of the presentation is available to watch on SkillsMatter website. You need to register to SkillsMater in order to watch it. Link to the video can be found…
Read More

Dockerising Appium: Talk at Appium London Meetup

Automation
Docker & Appium I have had fun presenting Docker and Appium integration at London Appium Meetup on 27th October, 2015. You can find event details below http://www.meetup.com/Appium-London/events/225443843/ I have presented how Appium can be used inside the docker containers. This talk covered how to use docker image provisioned with adb and appium. The docker image can be found on my DockerHub and called 'docker-appium-cucumber' Slides with Video can be found here. http://www.slideshare.net/Shashikant86/dockerising-appium-london-appium-meetup
Read More

Docker Compose Cucumber for Cross-Browser Testing

Automation, BDD
Docker-Compose Docker is the trending tool in the recent days which allows us to run multiple lightweight containers to perform various task. Just in case, you haven't got docker please refer my previous post 'Guide to Docker ToolBox' to start Docker from scratch. Docker-compose is a way of managing multiple containers to perform specific tasks. It allows us to create 'docker-compose.yml' file with our container requirements. You can install docker-compose in with PIP with single command. [crayon-58a985d54f1c1655956037/] In this short post, we will setup Ruby-Cucumber to run scenarios in the multiple browses. We will execute it in PhantomJS based Poltergeist driver. Docker-Compose Cucumber We will consider two basic scenarios here. You have existing cucumber framework setup You have to start from scratch Existing Cucumber Framework Assuming, you have created Dockerfile &…
Read More

Migrating from Boot2Docker to Docker ToolBox

Personal
Docker ToolBox Docker-ToolBox is a new way to install Docker on Mac OSX, Linux and Windows. It deprecated the old way of installing docker with 'Boot2Docker'. In this post, we will see how to migrate from Boot2Docker to Docker ToolBox. It will be great start if you are new to Docker. This post become popular since, it's been tweeted by @Docker. Simple guide on migrating from #Boot2Docker to @Docker Toolbox by @Shashikant86 - http://t.co/jsouaefkj9 pic.twitter.com/8sfHpzxh2J — Docker (@docker) October 7, 2015 Installation It's fairly easy to install Docker-ToolBox on Mac OSX. Visit this page and download it for Mac OSX. Once you download it. You can follow installation steps Detailed documentation is here . Docker toolbox consist of following toolkit. Docker Client - New Docker binary Docker-Machine - Replacement of Boot2Docker…
Read More

Dockerizing Cucumber-BDD and Ruby Friends

Automation, BDD
Docker Docker is becoming incredibly popular in the recent days. Docker containers are lightweight and can be launched as required. Well, this post is about provisioning Cucumber-Capybara BDD framework inside docker in order to execute Cucumber scenario inside the containers. This will install all the supporting tools as mentioned in the BDDfire. Docker-BDD on DockerHub In order to setup, Ruby-Cucumber framework inside docker, I have created a Docker image on DockerHub, called 'docker-bdd'   You can get click on image above to get to Docker-Hub and pull 'docker-bdd'. Pulling Docker-BDD Assuming you have Docker setup in your machine, you can launch docker vm. Please use docker docs in order to get you setup with docker. Now, let's pull the Docker image and let it provision   [crayon-58a985d5506e4305039192/]   This  will pull…
Read More