O'Reilly logo

Mastering C++ Programming by Jeganathan Swaminathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Behavior-Driven Development

This chapter covers the following topics:

  • A brief overview of behavior-driven development
  • TDD versus BDD
  • C++ BDD frameworks
  • The Gherkin language
  • Installing cucumber-cpp in Ubuntu
  • Feature file
  • Spoken languages supported by Gherkin
  • The recommended cucumber-cpp project folder structure
  • Writing our first Cucumber test case
  • Dry running our Cucumber test cases
  • BDD--a test-first development approach

In the following sections, let's look into each topic with easy-to-digest and interesting code samples in a practical fashion.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required