Chapter 4. Configuring Cucumber

In this chapter, we will look at the following recipes:

  • Integrating Cucumber with JUnit
  • Overriding the Cucumber Options
  • Running Strict and Running Dry
  • Configuring the Cucumber Console output
  • Directing the Cucumber output to a file
  • Configuring the naming conventions

Introduction

When we talk about using Cucumber for behavior-driven development, we often talk about Feature files, Scenarios, Background, and Glue Code (Step Definitions). There isn't an iota of doubt that you won't be able to implement Cucumber until you understand the concepts mentioned earlier, but an area that is really important and is very useful in day-to-day Cucumber life is configuring Cucumber.

In this chapter, we will start with integrating Cucumber ...

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.