C++ Unit Testing Fundamentals Using Catch2

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 info
Rating
(73)
Level
Beginner
Updated
Jan 17, 2020
Duration
2h 0m
Table of contents
Course Overview
Introducing Catch
Organizing Your Tests Using Catch
Asserting Using Catch
Handling Duplicate Code
Description
Course info
Rating
(73)
Level
Beginner
Updated
Jan 17, 2020
Duration
2h 0m
Description

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.

About the author
About the author

Dror is a Software developer, architect, and consultant who likes to help software developers write better code. He's a public speaker and blogger. Dror teaches, mentors, and writes code using clean code principles, TDD, and BDD.

More from the author
AWS Developer: Lambda Deep Dive
Intermediate
3h 19m
Jul 2, 2018
Advanced C++ Mocking Using Google Mock
Intermediate
3h 49m
May 19, 2017
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hi, everyone. My name is Raul Helper and welcome to my calls c++ unit Testing fundamentals Using catch, too. I'm a software developer, architect and consultant who cares about his code and enjoy teaching other developers how to write better code. This course is not about yet. Another unit isn't framework. It's about writing Good unit testing c++ in my experience writing unreadable sustainable end Robust unit test is crucial for successful software development. In this course, we're going to learn how to let go to the bust. You Any test using catch to a simple yet powerful and flexible unit is infirm work for C plus plus, some of the major topics that we will cover include what makes Catch two different from other units in frameworks. And in fact, what makes it better than other unit testing for marks out there? How to let go d n a test. And what does it mean? A good unit test? How to run your unit test from command line is in Catch two and special tags and why we care about test failures and how to get the most out of them. And finally we are going to talk about how to reduce duplicate called in your test while maintaining the readability by the end of this costume, nor to write unit test in simplest classes and catch to in order to create better and cleaner c++ code. Before beginning this course, you should be familiar with c++. So in case you need a refresher, check out one off the excellent C++, Blore said courses on this subject. I hope you'll join me on this journey to learn all about unit testing and what makes catch to an excellent tinnitus in from work with the c++ unit testing fundamentals using Catch two calls at your side.