Skip to main content
00:00/00:00
Lecture 8 of 50

Intro

Download Course (Free)

Course Content

0 / 50 completed
Section 1: Course Intro1 videos

How to Use This Course

7m
Section 2: Setting Up Google Test8 videos

Intro

17m

Visual Studio Sample GTest Project

18m

Installing Visual Studio

27m

Googletest with FetchContent in CMake Visual Studio

20m

Googletest with FetchContent in CMake

47m

Installing on Linux

8m

Google Test CMake With a Test Runner and Actual Application

25m

Google Test CMake Sample Linux

49m
Section 3: Unit Testing Basics13 videos

Intro

6mNow Playing

What is a Unit Test

4m

Unit Test Characteristics

2m

Types of Testing

5m

Unit Test Structure Slides

4m

Assertions Code Example

4m

Assertions

12m

Unit Test Structure Code Example

8m

Assertions on Strings

2m

Assertions on Strings Code Example

5m

Assertions on Strings Wrong Way To Do It

23m

Assertions on Exceptions

3m

Assertions on Exceptions Code Example

8m
Section 4: Fixtures Remove Redundant Code6 videos

Intro

4m

Introduction to Test Fixtures

7m

Fixture Flow

7m

Parameterized Tests

5m

Test Fixtures Code Example

44m

Parameterized Tests Code Example

40m
Section 5: Setting Up Google Mock3 videos

Intro

1m

Google Mock Visual Studio Windows

16m

Google Mock CMake Sample Linux

18m
Section 6: Google Mock15 videos

Intro

10m

Introduction to Mocking

5m

Mocking Methods

11m

Presentation of Our Project

12m

Mocking Methods Current Way Code Example

28m

Setting Expectations and Behaviour

6m

Mocking Times Code Example

11m

Mocking Methods Legacy Code Example

10m

Mocking Returns Code Example

8m

Matchers

4m

Invoking Actions Code Example

21m

Assertions on Vectors Code Example

9m

Callbacks

15m

Mocking Private and Static Methods

17m

Matchers Code Example

20m
Section 7: Bonus Tips & Tricks3 videos

Running a subset of tests FAIL and SUCCEED

15m

Visual Studio Test Runner

12m

Arguments in Visual Studio generating XML report

10m
Section 8: Conclusion1 videos

Conclusion

1m