Skip to content
UdemySoftware TestingPaid courseBeginner levelCertificate

Beginning Test Driven Development in C++ (Udemy.com)

Learning the discipline of Test Driven Development (also known as TDD) Using the C++ Programming Language

Created by: Richard Wells

Last updated July 2018

icon
What you will learn

  • How to implement unit tests for their production C++ code using the discipline of Test Driven Development.

How it compares

Against the other 281 rated Udemy courses in Software Testing on CourseDuck:

  • Rating4.1 out of 5higher than 7% of them
  • Reviews1,063#123 of 282 by number of reviews
  • Length2.4 hoursshorter than 82% of them
  • Last updatedJuly 2018earlier than 93% of them

icon
Course Description

Test Driven Development is a key discipline every software developer should practice to ensure the quality of their code.  In this course I'll show you how to use this discipline in your everyday coding practices to help ensure the quality of your code base.

  • In this course we’ll be going over:

    • What is Unit Testing and Test Driven Development and how does it help you.

    • What is the Google Test testing library and how is it used for writing unit tests in C++.

    • How to setup some common C++ development environments to use Google Test.

    • What are some Best Practices for unit testing and Test Driven Development.

    • We’ll also walk through some hands on example programming sessions using TDD in C++.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Richard Wells

I'm a software engineer with over twenty years of experience.  I've worked professionally writing code in Assembly, C, C++, Java, C#, Javascript and Python and I am knowledgeable with the entire software development life cycle.  I've written system requirements, software requirements, use cases, and user stories.  I'm an avid practicer of Agile, Scrum, and Extreme Programming disciplines.  I'm passionate about the process of writing quality software fast.

icon
More courses by Richard Wells

$49.99

$49.99

Free

icon
More Software Testing courses

$59.99

$84.99

$10.99

$10.99

$13.99

$149.99

icon
Reviews

4.1

1,063 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Cristina Alonso-Villa on 12/12/2022

Very good introduction to TDD with GTest. Explains how to set up different IDEs. The Checkout Kata with TDD is explained in depth. The GMock section however feels a bit short and there is no solution for the little coding challenge at the end of this section. Other than that the content is very well presented and one can follow the course very well. Absolutely recommend.

By Bogdan Constantin Seceleanu on 11/12/2021

Discounts example goes too far, too fast, and it`s copied code from a paper or another screen, losing time unnecessarly. Also, I encountered some issues when setting up the VisualStudio environment, because the explanations are outdated and incomplete. Also, I don`t like that the Q&A section is not supported anymore by the trainer.

By Anonymized User on 8/4/2021

This is a good start for TDD. I found this course just enough informative to start test development. It was not very useful for me to stare on code typing. Also C++11 and above that are widely used allows to write the same with less effort, I think it is now widespread enough to use it. For some reason on my full hd screen the text was blurred a bit. Nevertheless, it was a course that I can recommend to any C++ developer who wants to start writing unit tests.

By Arne Scheunemann on 11/4/2020

Practical intro but some content could be richer and slides content is just rushed through at examples, some more words would have been nice , same for the examples. The section on Double tests is very short and even though the example is explaining the idea a better intro on what the plan is could help a lot I had to research aside to follow. Also missing is a multi file example and even though many IDEs are shown no full project is shown. I was hoping to also get a feeling for the scope of TDD as nearly every line of code becomes 10 lines at least that is my impression after this. Any case thanks for the intro to TDD

By Alexey Vlasenko on 6/16/2020

The course was good, however, the section on test doubles was rather minimalistic, to the point where I feel like I didn't get anything out of it. In the conclusion, it was mentioned that this material would be covered at greater depth in a more advanced course, which would be great - but in this case, since the material isn't really covered here to any kind of useful depth, the section seems superfluous. Might be best to just take it out and leave it for the advanced course, or else expand it a bit and add an assignment.

By Stefan Trenkwalder on 12/19/2019

Overall a great course about Unit Testing/TDD. It explains what is necessary. On a small note, some examples would benefit from small modernizations (e.g. in the mock example, "virtual ~ClassNam(){;}". It would be better to use "virtual ~ClassName = default;". For more Infos, see C++ Coding Guidelines.). However, those things don't impact the learning experience. In summary, I enjoyed the course.

By Anonymized User on 5/20/2019

I'm probably too experienced to get as much out of this as I could, performing test driven development on a simple class was clear enough, but then doing it again was kind of painful. Also the questions "Does your IDE support google test framework" and following along with the video don't really help much when I can do it all in my head after the general concept has been explained.

By Rad Cirskis on 1/1/2019

Concise, well-organized course on TDD with C++, gtest and gmock. It is short and to-the-point, giving immediately applicable in real life takeaways. There is still a room for improvements. It coculd have more exercieses, and it could rely less on IDEs too. This course does not target beginners. And I recommend this course to anyone with some background in develping with C++ as a must to take.

By Valentin Senicourt on 2/18/2018

The TDD concepts are pretty well explained and illustrated properly on examples / activities proceeding at an adequate space. It's great to be able to install tools like GoogleTests quickly assimilate the basics of that technology within 1 hour. It's great to do things live and integrate the methodology and train of thought. I however think the activities / exercises should be explained better before following the instructor doing it live. Because we haven't really explained what we want to code and the general "design" we have in mind for our objects, it feels like we're adding structures and functions as we go, just to pass tests. Trying to guess the train of thought of the instructor is a complexity we do not need.

By Seyd Havens on 1/23/2018

I really enjoyed the course, it was informative and showed the basics of test driven development. The two reasons that I have for 4 stars instead of 5 were: 1) It felt like the Test Doubles and Google Mock should have been given equal treatment and been a second part of the course 2) The setup for Visual Studio was incomplete. First, it should have been made clear that Google Mock needed to be compiled the same as we had done for Google Tests and second that instructions should have been given as to how to include this as a template for new developments as taking the 5-10 minutes per project to reconfigure for the test suite will add up, especially for the newer developers taking this course.

Showing all 10 reviews on CourseDuck

Read all 1,063 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 82 / 100