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

YouTube

Towards Painless Testing

CppNow via YouTube

Overview

Explore a comprehensive conference talk on modern C++ testing techniques, focusing on making testing painless and efficient. Learn about the importance of testing, different types of tests, and various testing frameworks. Discover modern alternatives to traditional mocking frameworks, including GUnit and GMock. Delve into concepts like dependency inversion principle, Hollywood principle, and single responsibility. Understand how to write testable code, implement dependency injection, and create integration tests. Gain insights into Test-Driven Development (TDD) and its benefits. Finally, examine the future of C++ testing, including potential developments in C++20 and beyond.

Syllabus

Introduction
Why you should test
Agenda
Why is it important
Money
Types of tests
Dont cling
Quality
Testing Framework
GUnit Staff
Mocking Framework
Google Mock
Modern Alternatives
GMark
Template
Macro
Tiger
Test
Marking
Stupid code
Classes
Responsibility
dependency inversion principle
Hollywood principle
Mocking
Java style
Concepts
Testing
No Inheritance
The Test
The Wiring
Single Responsibility
Factories
dependency injection framework
testable code
wiring math
test in itself
integration test
test changes
how is it done
TDD Mantra
TDD Benefits
Macros
Summary
Approach
Vision

Taught by

CppNow

Reviews

Start your review of Towards Painless Testing

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.