Dockerizing BDD : Presentation at #BDDX15 Conference London

Home / Dockerizing BDD : Presentation at #BDDX15 Conference London

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-58a9864f128cf845662644/] 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

phpbrew: awesome PHP version Manager

Automation
phpbrew PHPBrew is a awesome PHP version management tool. It is very similar to RVM for Ruby version management. Now it become very easy to manage PHP versions on Mac OSX. Let's get started with phpbrew, get it installed [crayon-58a9864f171b1935756187/] Now we have installed phpbrew and we can initialise it.   [crayon-58a9864f171bf330057335/] Now,  we can add ' source ~/.phpbrew/bashrc' to .bashrc or .zshrc profile. Now you can list all known php versions and install specific version of PHP we want [crayon-58a9864f171c8500255051/] This will install php5.6.13  Install PHP Extensions Using phpbrew, installing php extensions is such an easy task. You can name extensions and run command [crayon-58a9864f171d0567333627/] We can also enable/disable extensions with phpbrew [crayon-58a9864f171d7465237613/] Now, we also install php components line composer or phpunit  Turn Off You can turn off…
Read More

Automated Accessibility Tools

Automation
Automated Accessibility Accessibility testing can done either in manual or automated way. Manual accessibility can be formed by using some online tools or using VoiceOver on Mac OSX or NVDA  screen reader. There are various automated accessibility tools available in the market which we will be listing in the post. Using automated accessibility tools has some pros and cons as it can detect few things but can't really detect some important things. Automated tools can detect : DOCTYPE ALT tags Character Encoding Relative Size TabIndex value ARIA track attribute for Video There are various accessibility audit rules automated by Google Accessibility Developer Tool. Automated Tools Can't detect : Color Contract Frame Usage JavaScript Usage  Automated Accessibility Tools There are some awesome libraries available open-source for the automated accessibility testing. Some of…
Read More

BDDfire: Write your Tests not Framework

BDD
BDDfire: Write your tests not Framework BDDfire is  library which installs Ruby-Cucumber framework in a minute with lots of Cucumber friendly tools. BDDfire features includes : This will create all the directories and files to support following tools Inbuilt Capybara Access Selenium-Webdriver capabilities Poltergeist: PhantomJS based headless driver for capybara Run scenarios in parallel 10 processes and rerun failed scenarios. Appium : Mobile test automation Framework Saucelabs : Cloud testing framework Browserstack : Cloud testing framework TestingBot : Cloud testing framework Relish : Living Documenation Yard : Cucumber documentation Rubocop : Ruby code review tool CI Support Script Three Commands to Get Started [crayon-58a9864f17942995522579/] [crayon-58a9864f1794f656683855/] [crayon-58a9864f17957105426596/]     Watch it in Action on Youtube : http://www.youtube.com/watch?v=O9s87KlzKOo   Why wait ! Get BDDfire now
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-58a9864f18008999057630/]   This  will pull…
Read More

Faster BDD: Parallelising Cucumber and re-running failed scenarios

BDD
Parallelising Cucumber The 'parallel_test' is a awesome rubygem to speedup your Rspec, Cucumber and Test Unit scenarios. Parallel _test also allows us to run Cucumber into different process and speedup the entire execution. In my previous blog post 'speed up BDD with parallel cucumber' we have seen the basic setup of parallel-test, scenario execution and reports aggregation. In this post, we will see how to handle flacky scenarios by re-running them with parallel cucumber. Source Code Source Code of this demo is available on GitHub ' parallel-cucumber-failed-rerun' https://github.com/Shashikant86/parallel-cucumber-failed-rerun   Setup Inside cucumber.yml if you got existing project add this to your cucumber.yml report logger as a new profile [crayon-58a9864f18e4a909209931/]   This will created 'cucumber_failures.log' with all failed scenario which we can use it for rerunning. You can also add another…
Read More

Vagrant + Ansible + Appium :BBC Digital Open Day 2015: Slides & Video

Personal
BBC Digital Open Day Video of my talk on "Vagrantification of Appium Hive with Ansible" has been now available to watch. This talk describe : BBC's internal mobile CI a.k.a HiveCI Setup and Provisioning of Hive CI Vagrant and Ansible Appium and NodeJS Video You can watch here OR  by clicking on image below Slides Slides of the talk are available on Slideshare Hope you like it.
Read More