Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Test-Driven Development in C++

Test-Driven Development in C++

2h 21mBeginner2018-06-28

Authors

Richard Wells

Richard Wells

Software Engineer

Course details

Every software developer wants to ship high-quality applications. Test-driven development (TDD) is a key discipline that can help you enhance your development process—and, in turn, your code base—by ensuring that crashes and bugs are addressed early on. In this course, join Richard Wells as he covers unit testing and TDD for C++ projects. Richard provides an overview of both unit testing and TDD, explaining why both are crucial for developers. He also shows how to set up your development environment for TDD and goes over the Google Test C++ unit-testing framework. Throughout the course, he shares best practices and provides examples and test cases that can help you gain a practical understanding of TTD in C++.

Learning objectives
What is test-driven development (TDD)?
Setting up your development environment
Setting up Google Test with Eclipse, Visual Studio, CLion, and Xcode
Working with Google Test
Test doubles
Google Mock library
TDD best practices

Skills covered

C++Software TestingDevOps FoundationsDevOpsProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Welcome

1. Overview of Test-Driven Development

  • 02 - What is unit testing
  • 03 - What is test-driven development
  • 04 - Example - TDD session, the FizzBuzz kata

2. Setting Up Your Development Environment

  • 05 - Set up Google Test with Eclipse
  • 06 - Set up Google Test with Visual Studio
  • 07 - Set up Google Test with CLion
  • 08 - Set up Google Test with Xcode

3. Google Test Overview

  • 09 - Google Test

4. The Supermarket Checkout Kata

  • 10 - Overview, setup, and the first test case
  • 11 - Add items, add item prices, and calculate the current total
  • 12 - Add multiple items and calculate the total
  • 13 - Add and apply discounts
  • 14 - Throw an exception when adding an item with no price

5. Test Doubles

  • 15 - Test doubles overview
  • 16 - Google Mock overview
  • 17 - Google Mock example

6. Test-Drive Development Best Practices

  • 18 - Test-driven development best practices

Conclusion

  • 19 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal