Beginning Test Driven Development in C

Learning the discipline of Test Driven Development (also known as TDD) Using the C++ Programming Language
Beginning Test Driven Development in C
File Size :
1.13 GB
Total length :
2h 22m



Richard Wells


Last update




Beginning Test Driven Development in C

What you’ll learn

How to implement unit tests for their production C++ code using the discipline of Test Driven Development.

Beginning Test Driven Development in C


You should be familiar with the C++ programming language.
Have your desired IDE installed and ready to use. The course will go over how to setup and use the Google Test library in Visual Studio and Eclipse.


Test Driven Development is a key discipline every software developer should practice to ensure the quality of their code.  In this course I’ll show you how to use this discipline in your everyday coding practices to help ensure the quality of your code base.
In this course we’ll be going over:What is Unit Testing and Test Driven Development and how does it help you.What is the Google Test testing library and how is it used for writing unit tests in C++.How to setup some common C++ development environments to use Google Test.What are some Best Practices for unit testing and Test Driven Development.We’ll also walk through some hands on example programming sessions using TDD in C++.


Section 1: Introduction

Lecture 1 Introduction

Section 2: Overview of Test Driven Development

Lecture 2 What is Unit Testing?

Lecture 3 What is Test Driven Development?

Lecture 4 Quick Example TDD Session – The FizzBuzz Kata

Section 3: Setting Up Your Development Environment

Lecture 5 Setting Up Google Test With Eclipse

Lecture 6 Setting Up Google Test With Visual Studio

Lecture 7 Setting Up Google Test with CLion

Lecture 8 Setting Up Google Test with XCode

Section 4: Google Test Overview

Lecture 9 Google Test Overview

Section 5: The Supermarket Checkout Kata

Lecture 10 Overview, Setup, and 1st Test Case

Lecture 11 Add Items, Add Item Prices, and Calculate Current Total

Lecture 12 Add Multiple Items and Calculate Total

Lecture 13 Add and Apply Discounts

Lecture 14 Throw Exception when Adding an Item with No Price

Section 6: Test Doubles

Lecture 15 Overview of Test Doubles

Lecture 16 Google Mock Overview

Lecture 17 Google Mock Example

Section 7: TDD Best Practices

Lecture 18 TDD Best Practices

Section 8: Conclusion

Lecture 19 Conclusion

Anyone who wants to write better code faster.

Course Information:

Udemy | English | 2h 22m | 1.13 GB
Created by: Richard Wells

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top