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

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 52

  • @arisaif
    @arisaif  2 роки тому +15

    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!

  • @mehmetrzaoz9016
    @mehmetrzaoz9016 10 місяців тому +5

    This series is much better than some paid courses. Thank you for sharing your knowledge.

  • @HusseinbergDude
    @HusseinbergDude 2 роки тому +2

    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.

  • @SiddharthKarnam
    @SiddharthKarnam 2 роки тому +8

    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.

    • @arisaif
      @arisaif  2 роки тому

      Thanks! Glad you found it useful!

  • @WangNico-r2s
    @WangNico-r2s Рік тому +2

    the best gtest/gmock tutorial I've seen sofar, thx

  • @kqtz
    @kqtz 2 роки тому

    Best Google Test tutorial on UA-cam imo.

  • @baqtronic7704
    @baqtronic7704 2 роки тому +1

    The best and most complete explanation I've found on youtube so far. Thanks for sharing your expertise!

  • @behshad9
    @behshad9 9 місяців тому

    Extremely well put together and informative!

  • @MrBoBiNaToR1000
    @MrBoBiNaToR1000 Рік тому

    Just wanted to extend my thanks for making this video, it is very useful!

  • @garapatianushadevi3427
    @garapatianushadevi3427 2 роки тому

    Great! Thanks for the amazing tutorial. This is the best source among what I explored to learn Gtest

    • @arisaif
      @arisaif  2 роки тому

      Glad you found it useful!

  • @nitinmhetre7280
    @nitinmhetre7280 2 роки тому

    Superb Video Ari. Thanks for for this teaching. Waiting for 3rd Video in this GTest series.

  • @motionsmoments6254
    @motionsmoments6254 2 роки тому

    This is a really organized tutorial. Thanks!

  • @mekalakalyanasundaram7871
    @mekalakalyanasundaram7871 2 роки тому

    Explanations are very good.. thanks for the video

  • @matheusribeiro2739
    @matheusribeiro2739 2 роки тому

    Amazing. Extremely helpful

  • @kamalkrishnaroy8496
    @kamalkrishnaroy8496 2 роки тому

    Hey Ari !! Glad to see you again. Can you please continue the Multi-threading series !! 🙂

    • @arisaif
      @arisaif  2 роки тому +1

      Thanks! Hopefully I can get to that soon.

  • @wangcwy
    @wangcwy 2 роки тому

    Great video! Super helpful to me. Thanks a lot!

  • @HusseinbergDude
    @HusseinbergDude 2 роки тому

    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]”.

  • @jindeng9890
    @jindeng9890 8 місяців тому

    thank you so much, great serials.

  • @87yassmin
    @87yassmin 2 роки тому

    Very well explained 👏 Thank you!

  • @ahmadbanshee9714
    @ahmadbanshee9714 2 роки тому

    great tutorial, Almost everything covered

  • @Ash-fo4qs
    @Ash-fo4qs 9 місяців тому

    can you also provide a basic series on google fuzztest? and the gtest and fuzztest integration. thanks

  • @richardsargeant8073
    @richardsargeant8073 2 роки тому

    Outstanding!

  • @fanchuankang1228
    @fanchuankang1228 2 роки тому

    Great tutorial, thank you. But i run bazel test cmd error at centos, bazel is a difficult tool to master.

  • @caotoanbk
    @caotoanbk Рік тому

    very helpful tutorial, can I get the slide presentation? thank you

  • @uchovovan
    @uchovovan 2 роки тому

    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!

    • @arisaif
      @arisaif  2 роки тому

      Glad I was able to help!
      For highlighting the output in VSC, use this extension: "GoogleTest Adapter".

  • @ghalebevaldo4416
    @ghalebevaldo4416 Рік тому

    great video!!! thanks a lot

  • @mannynavarro5803
    @mannynavarro5803 7 місяців тому

    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.

    • @arisaif
      @arisaif  7 місяців тому

      Yes, it can be at the top of test.cpp.

  • @saratari5949
    @saratari5949 Рік тому

    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?

    • @arisaif
      @arisaif  Рік тому

      You should add `#include `

  • @dibyojyotibhattacherjee897
    @dibyojyotibhattacherjee897 2 роки тому

    Can u do a video, in which you show, how to setup bazel for a c++ project

    • @arisaif
      @arisaif  2 роки тому +1

      That's a great idea. I'll add this to my to-do list.

  • @shimasisakhti2048
    @shimasisakhti2048 2 роки тому

    Very useful! Thank you.

  • @sudiptosaha7467
    @sudiptosaha7467 2 роки тому

    when will you upload the video on GMock?

    • @arisaif
      @arisaif  2 роки тому

      I just released part 2. Thanks for your interest!

  • @aryansh78
    @aryansh78 2 роки тому

    It was perfect

  • @rude_broccoli
    @rude_broccoli 2 роки тому

    Thank you for sharing! Is mock actually shown in this one or will be in the follow up?

    • @arisaif
      @arisaif  2 роки тому +1

      Thanks for your interest! I will cover GMock in the next two videos.

  • @private_down
    @private_down 9 місяців тому

    GTest
    GMock
    GZus

  • @LeKhanh-gl7do
    @LeKhanh-gl7do 2 роки тому

    pls open the subtittle/CC, tks.

    • @arisaif
      @arisaif  2 роки тому

      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.

  • @sailingaeolus
    @sailingaeolus 2 роки тому

    You should name it basel tutorial.

    • @arisaif
      @arisaif  2 роки тому

      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.

  • @przemyslawsliwa1043
    @przemyslawsliwa1043 9 місяців тому

    Content is very intersting but boy, the spped! Where are you rishing, mate? Slow down, very difficult to digest this video.

  • @arealcomputerscientist7219
    @arealcomputerscientist7219 2 роки тому

    @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.

    • @arisaif
      @arisaif  2 роки тому

      Not sure, but if you want send me a link to your code and I will take a look.