C++ Unit Testing: Google Test and Google Mock [Udemy Coupon Code]

"When you purchase something through one of the links on our site, we may earn an affiliate commission at no additional cost to you."

Limited offer hurry up

C++ Unit Testing: Google Test and Google Mock is a top-rated Udemy course taught by Serban Stoenescu — with over 11933+ students enrolled since it launched.

Beginning Test Driven Development (TDD) in C++ with Googletest and Googlemock

Don’t wait! This special offer won’t last long.

Click the button below to Get up to 100% OFF the regular price.

(The discount will be applied automatically at checkout — no code needed!)

Hurry — this discount on C++ Unit Testing: Google Test and Google Mock won’t be around forever. Take action now!

100% off Udemy coupon code

Why enroll in the C++ Unit Testing: Google Test and Google Mock Udemy Course?

  • Udemy gives you access to over 250,000 courses and 85,000 expert instructors worldwide.
  • Courses are led by experienced professionals dedicated to delivering a high-quality learning experience.
  • Many of Udemy’s most popular courses have hundreds of thousands of students enrolled.
  • Udemy offers online coupons, promo codes and voucher for the majority of its courses.

C++ Unit Testing: Google Test and Google Mock Udemy Promotion code

Course Sections
Course Intro
Setting Up Google Test
Unit Testing Basics
Fixtures: Remove Redundant Code
Setting Up Google Mock
Google Mock
Bonus: Tips & Tricks
Conclusion and Suggested Reading
Course Description
Requirements
Basic C++
No unit testing experience is required

This course is for software developers and students who want to be better programmers by writing more solid, bug-free code using the Google Test framework.
Your code will get better and you will have more confidence that your code is correct, because you will catch more bugs using automated tests.
How many times did this happen to you? You wrote new code, and after your hard work is done, you find that you broke features that used to work? And you had to waste more hours finding and fixing the bugs… This problem can get solved in most cases by using automated tests, especially unit tests.
No experience with automated testing is required. Very basic C++ knowledge is needed, nothing too sophisticated.
If you are completely new to Google Test, this course is just for you! If you already have some knowledge, look at the course content and see if you find some more advanced features that you didn’t know about.
Google Test works on multiple platforms. You can use any platform you like. In this course, I am doing it on:

Windows (Visual Studio)

Linux (CMake or compiling directly from the command line)

Other platforms will be added if you suggest them to me
There are slides and hands-on coding examples in each section. I recommend that you try the examples and play around with them.
Here’s a brief presentation of the course content:

Optional videos: Setting up on Windows (Visual Studio) and on Linux (CMake and GCC)

Basics of unit testing:

Unit test structure

Assertions – numeric, string, exceptions

Reusing code between tests (test fixtures, SetUp() and TearDown())

Parameterized tests:  generate multiple tests by writing one single function.

Mocking – replacing real objects with fakes that you can control):

Basics

Setting the behaviour of mocks

Matchers