The Test Room – Recent Posts

  • Some People Hate Cucumber (6/26/2017) - This may come as a surprise to you, some people actually hate Cucumber. But, do you know why? Why Hate Cucumber? Over the years of trying to encourage poeple to adapt Cucumber, here is a list of the most common 'reasons' that I have had in response: It's An Overhead When asking colleges to adopt Cucumber as a tool to help remedy the bridge between BA's and Developers, “Cucumber is an overhead” was the response I got back. The first time I came across this response, I was a little confused. How is Cucumber an overhead? Overtime I figured out … Continue reading Some People Hate Cucumber
  • Good Automation Framework (6/21/2017) - It's easy to build an automation framework that works. It's tough building a framework that works well. What is an Automation Framework? The need to have an automation framework should always come from a 'need to a problem', not a 'want to a solution'. The concept of a framework is to provide a foundation which can be extended for further use. When talking about frameworks in the context of Automation, the same rule applies. Let’s take a real world scenario: Manager: We need to write some tests, what do we have so far? Developer: Depends on what tests you want. … Continue reading Good Automation Framework
  • Let’s TDD and BDD (6/15/2017) - What is the best approach of writing tests? TDD vs BDD. Have you heard of either Test Driven Developer (TDD) or Behivour Driven Development (BDD)? These are perhaps the most common and most used practices when it comes to writing tests. Firstly, let's discuss why anyone would want to follow a testing practice. Why not just write tests in whatever manner you want? To Practice or Not To Practice Let’s assume you do not follow any practices or principle. This means you are probably very happy about your tests, assuming they run and pass. Let’s also assume no one else … Continue reading Let’s TDD and BDD
  • Jenkins CatLight (6/10/2017) - CatLight is a status notifier. Jenkins is a CI tool. Put the two together and you get Jenkins CatLight. CatLight allows us to listen for updates from Jenkins, which are then cleverly posted to the user. Jenkins CatLight Navigate to https://catlight.io/ and download the client. Once downloaded, install and open the app. You should see a screen similar to this: Select Jenkins and you should then have a screen similar to this: Populate the 'Server URL' field with the host value of Jenkins, credentials and select next. Once done, you should see a list of all your Jenkins jobs listed. … Continue reading Jenkins CatLight
  • Agile Is Just Waterfall (6/8/2017) - Agile is just Waterfall, really? Waterfall is a wonderful concept. It allows managers to 'plan' for problems. Also allows Developers to fix issues before testing has began and testers to possible approve products with bugs. In a nutshell, Waterfall is a little 'stick to the deadline' intensive. So, how does Agile relate to Waterfall? Does it relate to Waterfall at all? Is Agile Waterfall Waterfall is a form of 'delivery plan'. The biggest disadvantage to Waterfall is the strict deadline and delivery requirements. Agile tries to remove some of that burden, but how? Well, let's take a look at the … Continue reading Agile Is Just Waterfall
  • Jenkins CLI (6/3/2017) - Jenkins CLI, your one stop shop for a 'quicky' with Jenkins. Jenkins is an amazing CI tool which allows us to run tasks via jobs. It allows us to runs automated jobs over time. This allows developers to understand how stable their code base is. Along side this, Jenkins is one of the most popular CI tools around today. With this said, what role does Jenkins CLI play? Jenkins CLI Setup Great, let's try to setup Jenkins CLI locally first. This post assume that you have already installed Jenkins on your machine. If not then you may want to firstly … Continue reading Jenkins CLI
  • Docker Compose (5/27/2017) - Docker Compose is going to become your best friend. Do you remember in the previous post, we talked about running multiple containers in a manual fashion? Well, it’s time to say goodbye to that. In this post, we will look at a more friendlier approach to running multiple containers. What is Docker Compose? So, what is Docker Compose? In the previous post, we manually pulled and started containers which contained a Wordpress and MySql software. We were able to link both containers together and also tested it in a web browser. In short, we executed a number of commands followed … Continue reading Docker Compose
  • Multiple Docker Containers (5/20/2017) - The concept of Linking Docker Container allows a user to get one container to talk to another. This concept of linking is important as it allows for easier management of containers. Before diving into the world of container linking, perhaps it would be best if you quickly read-up on my blog post about Containers in general. Containers: http://www.thetestroom.com/docker-container/ Linking Docker Container, Why? We all know what a container is by know, if not then checkout my previous post on Containers. Moving on, why is it important that we are able to link multiple containers together. Well, as discussed, a container … Continue reading Multiple Docker Containers
  • Docker Container (5/13/2017) - A Docker Container is an encapsulated solution for running a machine with applications/software. It internalizes all dependencies allowing anyone to run a container on any machine, any cloud etc therefore making the process much more easier. First of all, consider quickly going through 'Installing Docker in Windows' before continuing with this post. Docker Container Docker has many commands which can be used to manage containers. Some of these are: docker --help docker search docker pull docker images docker run docker ps -a docker rm docker rmi docker --help 'Docker help' is a great way of seeing a list of all … Continue reading Docker Container
  • Installing Docker (5/6/2017) - Did you know that you can install Docker in Window. Well, let's have a look. Before you install Docker in Window, you may want to checkout my previous post on an introduction to Docker: * Introduction to Docker - Docker for Testing Install Docker In Window Before you install Docker, let's go through the requirements. Firstly, you must own a legal copy of Windows 10 Professional or Enterprise, 64-bit. This will allow you to install the Docker MSI for Windows. However, let's assume you don't match the requirements above fully, you might be able to get away with installing the … Continue reading Installing Docker