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

Pluralsight

C++ Unit Testing Fundamentals Using Catch2

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course would teach you how to write readable and robust unit tests using Catch2, a simple yet powerful unit testing framework.

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.

Syllabus

  • Course Overview 1min
  • Introducing Catch 21mins
  • Organizing Your Tests Using Catch 26mins
  • Asserting Using Catch 30mins
  • Handling Duplicate Code 39mins

Taught by

Dror Helper

Reviews

4.3 rating at Pluralsight based on 98 ratings

Start your review of C++ Unit Testing Fundamentals Using Catch2

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.