- Course
C++ Unit Testing Fundamentals Using Catch2 2
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.
- Course
C++ Unit Testing Fundamentals Using Catch2 2
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.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
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.
C++ Unit Testing Fundamentals Using Catch2 2
-
Version Check | 14s
-
Course Introduction | 59s
-
Who Is This Course For? | 1m 16s
-
Course Overview | 57s
-
Introducing Unit Tests | 2m 27s
-
Why Write Automated Tests? | 2m 9s
-
Introducing Catch | 2m 53s
-
Getting Started with Catch | 49s
-
Demo: Getting Started with Catch | 1m 10s
-
Writing Tests Using Catch | 1m 25s
-
Sample Project Description | 1m 15s
-
Demo: Writing Unit Tests Using Catch | 2m 35s
-
Comparing Catch to Traditional Unit Testing Frameworks | 2m 28s
-
Summary | 1m 3s