Skip to Content
Mastering C++ Programming
book

Mastering C++ Programming

by Jeganathan Swaminathan
September 2017
Beginner to intermediate
384 pages
8h 4m
English
Packt Publishing
Content preview from Mastering C++ Programming

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Multi-Paradigm Programming with Modern C++

Multi-Paradigm Programming with Modern C++

Georgy Pashkov

Publisher Resources

ISBN: 9781786461629Supplemental Content