Assertions Code Example
Course Content
0 / 50 completedHow to Use This Course
Intro
Visual Studio Sample GTest Project
Installing Visual Studio
Googletest with FetchContent in CMake Visual Studio
Googletest with FetchContent in CMake
Installing on Linux
Google Test CMake With a Test Runner and Actual Application
Google Test CMake Sample Linux
Intro
What is a Unit Test
Unit Test Characteristics
Types of Testing
Unit Test Structure Slides
Assertions Code Example
Assertions
Unit Test Structure Code Example
Assertions on Strings
Assertions on Strings Code Example
Assertions on Strings Wrong Way To Do It
Assertions on Exceptions
Assertions on Exceptions Code Example
Intro
Introduction to Test Fixtures
Fixture Flow
Parameterized Tests
Test Fixtures Code Example
Parameterized Tests Code Example
Intro
Google Mock Visual Studio Windows
Google Mock CMake Sample Linux
Intro
Introduction to Mocking
Mocking Methods
Presentation of Our Project
Mocking Methods Current Way Code Example
Setting Expectations and Behaviour
Mocking Times Code Example
Mocking Methods Legacy Code Example
Mocking Returns Code Example
Matchers
Invoking Actions Code Example
Assertions on Vectors Code Example
Callbacks
Mocking Private and Static Methods
Matchers Code Example
Running a subset of tests FAIL and SUCCEED
Visual Studio Test Runner
Arguments in Visual Studio generating XML report
Conclusion