When I first got hired by Google, I had to write C++ unit tests and it took me a while to learn how to use the Google test platform effectively. This video series is a complete tutorial on GTest and GMock based on what I learned over the past few years. Please let me know if you have any questions or suggestions for my next videos!
Extremely well put together. I spent a whole month reading the googlemock documentation getting upto speed. But you explained it in such a concise and orderly fashion, making it seem so easy. Thank you so much Arash ! Best gtest, gmock tutorial on the web. Period.
By the way, at 52:13 for the iterative approach, you don’t need the min(). You can just set the min to the first element in the array. So like “result = inputs[0]”.
Dear @arisaif! Thank you for this 3part video series on Google test. It's awesome. This is my everyday programming tutorial and HELP GUIDE for a month already. Now, there is one small thing that bothers me all the time, when I watch your videos😋 How do you color gtest output in VSCODE terminal with Green and Red colors? Cause in my environment it's all the same color. It's so easier to read test results in your videos. That is when you run test suit, there is output in terminal like [ RUN ] [ OK] [ FAIL] [ PASSED ] [ FAILED ]. And you have painted it with green and red. And in VSCODE by default it's white. Thanks once again!
Great series! at 39:11 of this video, you create a map for the parameterized tests and I was wondering where this map would actually go, as in if I have my tests in a test.cpp file or something, would this map be created at the very top of the file so that it can be used? I'd appreciate any help. thanks.
@asisaif I am stuck on the INSTANTIATE_TEST_CASE_P I wrote it exactly as yours to try it out and I always get function definition for INSTANTIATE_TEST_CASE_P not found. I am using VS do you have any idea why this may be showing up.
When I first got hired by Google, I had to write C++ unit tests and it took me a while to learn how to use the Google test platform effectively. This video series is a complete tutorial on GTest and GMock based on what I learned over the past few years. Please let me know if you have any questions or suggestions for my next videos!
This series is much better than some paid courses. Thank you for sharing your knowledge.
You’re a rockstar my dude. These tutorials are amazingly good. Thank you so much. Im always so happy to see a fellow Persian online.
Extremely well put together. I spent a whole month reading the googlemock documentation getting upto speed. But you explained it in such a concise and orderly fashion, making it seem so easy. Thank you so much Arash ! Best gtest, gmock tutorial on the web. Period.
Thanks! Glad you found it useful!
the best gtest/gmock tutorial I've seen sofar, thx
Best Google Test tutorial on UA-cam imo.
The best and most complete explanation I've found on youtube so far. Thanks for sharing your expertise!
Extremely well put together and informative!
Just wanted to extend my thanks for making this video, it is very useful!
Great! Thanks for the amazing tutorial. This is the best source among what I explored to learn Gtest
Glad you found it useful!
Superb Video Ari. Thanks for for this teaching. Waiting for 3rd Video in this GTest series.
This is a really organized tutorial. Thanks!
Explanations are very good.. thanks for the video
Amazing. Extremely helpful
Hey Ari !! Glad to see you again. Can you please continue the Multi-threading series !! 🙂
Thanks! Hopefully I can get to that soon.
Great video! Super helpful to me. Thanks a lot!
By the way, at 52:13 for the iterative approach, you don’t need the min(). You can just set the min to the first element in the array. So like “result = inputs[0]”.
thank you so much, great serials.
Very well explained 👏 Thank you!
great tutorial, Almost everything covered
Thanks!
@@arisaif Thank you too
can you also provide a basic series on google fuzztest? and the gtest and fuzztest integration. thanks
Outstanding!
Great tutorial, thank you. But i run bazel test cmd error at centos, bazel is a difficult tool to master.
very helpful tutorial, can I get the slide presentation? thank you
Dear @arisaif! Thank you for this 3part video series on Google test. It's awesome. This is my everyday programming tutorial and HELP GUIDE for a month already. Now, there is one small thing that bothers me all the time, when I watch your videos😋 How do you color gtest output in VSCODE terminal with Green and Red colors? Cause in my environment it's all the same color. It's so easier to read test results in your videos. That is when you run test suit, there is output in terminal like [ RUN ] [ OK] [ FAIL] [ PASSED ] [ FAILED ]. And you have painted it with green and red. And in VSCODE by default it's white. Thanks once again!
Glad I was able to help!
For highlighting the output in VSC, use this extension: "GoogleTest Adapter".
great video!!! thanks a lot
Great series! at 39:11 of this video, you create a map for the parameterized tests and I was wondering where this map would actually go, as in if I have my tests in a test.cpp file or something, would this map be created at the very top of the file so that it can be used? I'd appreciate any help. thanks.
Yes, it can be at the top of test.cpp.
Hi, I have a question ragarding stoi and google test. it seems that the function is not known by gtests. Could you please guide me?
You should add `#include `
Can u do a video, in which you show, how to setup bazel for a c++ project
That's a great idea. I'll add this to my to-do list.
Very useful! Thank you.
when will you upload the video on GMock?
I just released part 2. Thanks for your interest!
It was perfect
Thank you for sharing! Is mock actually shown in this one or will be in the follow up?
Thanks for your interest! I will cover GMock in the next two videos.
GTest
GMock
GZus
pls open the subtittle/CC, tks.
Ah sorry it looks like UA-cam hasn't generated captions for this video for some reason. I'll see if I can follow up with them.
You should name it basel tutorial.
Thanks for your interest! This is a tutorial on google test. I have used Bazel to build the code, but the video's focus is not on Bazel.
Content is very intersting but boy, the spped! Where are you rishing, mate? Slow down, very difficult to digest this video.
@asisaif I am stuck on the INSTANTIATE_TEST_CASE_P I wrote it exactly as yours to try it out and I always get function definition for INSTANTIATE_TEST_CASE_P not found. I am using VS do you have any idea why this may be showing up.
Not sure, but if you want send me a link to your code and I will take a look.