Companies Home Search Profile

C++ Unit Testing: Google Test and Google Mock

Focused View

Serban Stoenescu

3:23:12

295 View
  • 1 - How to Use This Course.mp4
    00:39
  • 2 - Intro.mp4
    02:02
  • 3 - Update for CMake users on all operating systems.html
  • 4 - Installing Visual Studio.mp4
    04:25
  • 5 - TeachingProject3.zip
  • 5 - Visual Studio Sample GTest Project.mp4
    07:48
  • 6 - Small Update.html
  • 7 - GTestWithCMakeFetchContent.zip
  • 7 - Googletest with FetchContent in CMake.mp4
    13:31
  • 8 - About the Next Lecture.html
  • 9 - Googletest with FetchContent in CMake Visual Studio.mp4
    03:55
  • 10 - Installing on Linux.mp4
    03:43
  • 10 - Installing-GoogleTest-and-GoogleMock-on-Linux-Ubuntu.pdf
  • 11 - GoogleTestClean.zip
  • 11 - Google Test CMake Sample Linux.mp4
    07:14
  • 12 - GoogleTestWithLib.zip
  • 12 - Google Test CMake With a Test Runner and Actual Application.mp4
    06:02
  • 13 - Intro.mp4
    00:36
  • 14 - What is a Unit Test.mp4
    01:15
  • 15 - Unit Test Characteristics.mp4
    01:03
  • 16 - Types of Testing.mp4
    01:37
  • 17 - Unit Test Structure Slides.mp4
    01:45
  • 18 - GoogleTestAAA.zip
  • 18 - Unit Test Structure Code Example.mp4
    04:20
  • 19 - Assertions.mp4
    01:49
  • 19 - Exceptions.pdf
  • 20 - Assertions Code Example.mp4
    01:46
  • 21 - Assertions on Strings Wrong Way To Do It.mp4
    05:42
  • 21 - GoogleTestBadStrings.zip
  • 22 - Assertions on Strings.mp4
    01:04
  • 23 - Assertions on Strings Code Example.mp4
    02:05
  • 23 - GoogleTestStringsOK.zip
  • 24 - Assertions on Exceptions.mp4
    00:49
  • 25 - Assertions on Exceptions Code Example.mp4
    03:47
  • 25 - GoogleTestExceptions.zip
  • 26 - Summary.html
  • 27 - Intro.mp4
    00:26
  • 28 - Introduction to Test Fixtures.mp4
    00:53
  • 29 - GoogleTestFixtures.zip
  • 29 - Test Fixtures Code Example.mp4
    11:47
  • 30 - Fixture Flow.mp4
    02:21
  • 31 - Parameterized Tests.mp4
    01:45
  • 32 - GoogleTest update.html
  • 33 - GoogleTestParameterizedTests.zip
  • 33 - Parameterized Tests Code Example.mp4
    12:36
  • 34 - Summary.html
  • 35 - Intro.mp4
    00:27
  • 36 - Google Mock Visual Studio Windows.mp4
    07:34
  • 37 - Google Mock CMake Sample Linux.mp4
    07:37
  • 38 - Intro.mp4
    01:03
  • 39 - GoogleTestProjectCXX-Standard-11.zip
  • 39 - Mocking Project Resources.html
  • 40 - Introduction to Mocking.mp4
    01:55
  • 41 - Mocking Methods.mp4
    02:14
  • 42 - Presentation of Our Project.mp4
    05:28
  • 43 - Mocking Methods Current Way Code Example.mp4
    09:36
  • 44 - Mocking Methods Legacy Code Example.mp4
    04:10
  • 45 - Setting Expectations and Behaviour.mp4
    01:47
  • 46 - Mocking Times Code Example.mp4
    03:39
  • 47 - Mocking Returns Code Example.mp4
    03:17
  • 48 - GoogleMockInvoke-backup.zip
  • 48 - Invoking Actions Code Example.mp4
    08:48
  • 49 - Matchers.mp4
    01:38
  • 50 - Matchers Code Example.mp4
    06:35
  • 51 - Assertions on Vectors Code Example.mp4
    04:06
  • 51 - GoogleTestAssertionsOnVectors-backup.zip
  • 52 - Callbacks.mp4
    06:27
  • 53 - Mocking Private and Static Methods.mp4
    06:45
  • 54 - Summary.html
  • 55 - Whats this.html
  • 56 - GoogleTestPartialRunning.zip
  • 56 - Running a subset of tests FAIL and SUCCEED.mp4
    07:08
  • 57 - Visual Studio Test Runner.mp4
    02:40
  • 58 - Arguments in Visual Studio generating XML report.mp4
    03:16
  • 59 - Conclusion.mp4
    00:17
  • Description


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

    What You'll Learn?


    • Google Test (C++ Unit Testing)
    • Google Mock

    Who is this for?


  • Software developers and students who want to make their code more robust, bug-free
  • Anyone interested in Google Test and Google Mock
  • What You Need to Know?


  • Basic C++
  • No unit testing experience is required
  • More details


    Description

    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

    Who this course is for:

    • Software developers and students who want to make their code more robust, bug-free
    • Anyone interested in Google Test and Google Mock

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Serban Stoenescu
    Serban Stoenescu
    Instructor's Courses
    I am a passionate software developer. I've been a professional programmer for 9 years now.In one of my previous jobs, I also worked as a trainer for new recruits.Co-author of a research paper (2014): Towards the Impact of Design Flaws on the Resources Used by an Application.My top languages are C++ and Java.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 50
    • duration 3:23:12
    • English subtitles has
    • Release Date 2022/11/22

    Courses related to C++

    Courses related to Unit Testing