Chapter 5. Running Cucumber

In this chapter, we will cover the following recipes:

  • Integrating Cucumber with Maven
  • Running Cucumber from the Terminal
  • Overriding options from the Terminal
  • Integrating Cucumber with Jenkins and GitHub
  • Running Cucumber test cases in parallel

Introduction

For successful implementation of any testing framework, it is mandatory that test cases can be run in multiple ways so that people with different competency levels can use it how they need to. So, now we will focus on running Cucumber test cases. There are multiple ways of running Cucumber, such as integrating it with Maven and running it from the Terminal; we can run Cucumber remotely as well by integrating Cucumber with Jenkins.

In this chapter, we will also cover advanced ...

Get Cucumber Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.