Test-Driven Development in C++
Offered By: LinkedIn Learning
Course Description
Overview
Discover how to develop strong, tested C++ code with unit testing and test-driven development.
Syllabus
Introduction
- Welcome
- What is unit testing?
- What is test-driven development?
- Example: TDD session, the FizzBuzz kata
- Set up Google Test with Eclipse
- Set up Google Test with Visual Studio
- Set up Google Test with CLion
- Set up Google Test with Xcode
- Google Test
- Overview, setup, and the first test case
- Add items, add item prices, and calculate the current total
- Add multiple items and calculate the total
- Add and apply discounts
- Throw an exception when adding an item with no price
- Test doubles overview
- Google Mock overview
- Google Mock example
- Test-driven development best practices
- Next steps
Taught by
Richard Wells
Related Courses
Computer GraphicsUniversity of California, San Diego via edX Intro to Parallel Programming
Nvidia via Udacity Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera