Google Test and Mock Platform, Complete Tutorial. Part 1: Google Test

Описание к видео Google Test and Mock Platform, Complete Tutorial. Part 1: Google Test

This is a complete tutorial on Google Test (GTest) and Google Mock (GMock) for writing unit tests in C++. This is the first video in the video series.
Watch Part 2 of this video on GMock Matchers here:    • Google Test and Mock Platform - Part ...  
Watch Part 3 of this video on mocking classes with GMock here:    • Google Test and Mock Platform - Part ...  

In this video, we will cover the following topics:

Introduction 00:00
What is a unit test? 02:22
Why a test platform is needed? 04:01
Accompanying repo: 06:42
Our first C++ unit test 7:32
Google Test Assertion Macros 12:09
Test Fixtures in GTest 22:17
Manipulating, Filtering, and skipping tests 27:29
Customizing GTest Output 30:06
Sharing Test Logic: 32:35
Parameterized Tests: 35:59
Typed Test: 50:57
Type-Parameterized Test: 55:58
Testing Private Code: 58.46
Assertion in Subroutines: 59:56
Command line arguments: 1:01:47

Let me know if you have any questions in the comments!

-----------------------------------------------------
Link to the repo used in this video: https://github.com/ourarash/cpp-template.
A video describing how to use this repo:    • C++ starter repo for Bazel & Visual S...  
-----------------------------------------------------
See my other videos on:
How to use Google Benchmark for C++ Programs:    • How to use Google Benchmark for C++ p...  
Bazel and unit tests with GTest:    • Bazel & Google Test in Visual Studio ...  
Debugging in Visual Studio Code for C++:    • Debugging C++ in Visual Studio Code u...  
Visual Studio Code, Top Features:    • Visual Studio Code Top Features 2020  
-----------------------------------------------------
Keep in touch with me:
  / ourarash  
  / ourarash  

I'm the founder of BitcoinCrazyness app, the Most Advanced Cryptocurrency mobile APP for alerts, Check it out:

http://www.bitcoincrazyness.com/

Комментарии

Информация по комментариям в разработке