Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

C++ Unit Testing - The Good, The Bad & The Ugly

NDC Conferences via YouTube

Overview

Explore the world of C++ unit testing in this comprehensive 53-minute conference talk. Discover the good, the bad, and the ugly aspects of unit testing in C++, a powerful language used in various applications from operating systems to mobile app development. Learn how to harness the power of unit tests to find defects quickly, avoid regression, and speed up development time. Gain insights into using the right unit testing tools and practices to get your C++ code under control, including techniques for testing legacy code. Delve into topics such as Google Tests, mocking frameworks, test fixtures, and how to choose the right approach for your projects. Whether you're a seasoned C++ developer or looking to improve your testing skills, this talk provides valuable knowledge to enhance your software development practices.

Syllabus

Introduction
What is C
Responsibility
Writing unit tests
What is unit testing
Google Tests
Unit Testing Framework
Good and bad news
Unit testing frameworks
Google Test
mocking framework
mocking frameworks
mocking in C
mocking in Google Mach
multiple assert dilemma
test fixtures
how to choose

Taught by

NDC Conferences

Reviews

Start your review of C++ Unit Testing - The Good, The Bad & The Ugly

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.