Simple play icon Course
Skills

C++ Unit Testing Fundamentals Using Catch2 2

by Dror Helper

Writing unit tests is a big part of being a professional software developer. This course would teach you how to write readable and robust unit tests using Catch2, a simple yet powerful unit testing framework.

What you'll learn

Writing unit tests is a big part of being a good software developer. Unfortunately, unit testing in C++ is far from being trivial, and good unit testing frameworks are hard to find. In this course, C++ Unit Testing Fundamentals Using Catch2, you will learn how to write robust unit tests using Catch2, a simple-to-use yet flexible and powerful unit testing framework for C++. You will learn what makes Catch2 different from other xUnit frameworks, and how it can be used to write unit tests for your C++ code. You will also get to see how to run Catch2 from the command line, how to use test fixtures, and how to create maintainable tests. When you're finished with this course, you will have a foundational knowledge of Catch2 and unit testing in C++ that would help you create better, cleaner C++ code.

Table of contents

Course Overview
1min

About the author

Dror is a freelance software architect. He has been writing software professionally for more than a decade, during which he has worked for industry giants such as Intel and SAP as well as small startup companies. He has extensive knowledge of many programming languages and platforms including C++, assembly, .NET (C#/VB) and Java. Dror is an expert in agile methodologies and software engineering practices. When not writing code, Dror mentors developers and conducts courses about clean code, unit... more

Ready to upskill? Get started