Information Technology
Star icon
Most Popular
Trending Arrow Icon
Trending
Hands on Training icon
Hands On Training
Star icon
Trending Arrow Icon
Hands on Training icon

Advanced C++ Mocking Using Google Mock

Course Cover
compare button icon

Course Features

icon

Duration

3.8 hours

icon

Delivery Method

Online

icon

Available on

Downloadable Courses

icon

Accessibility

Mobile, Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Intermediate

icon

Effort

3 hours per week

icon

Teaching Type

Self Paced

icon

Video Content

3.8 hours

Course Description

Unit testing can be challenging in real-life scenarios where there are dependencies between code. However, it is possible to isolate unit tests by using mocks, stubs, and fakes. The Advanced C++ Mocking using Google Mock course aims to teach developers how to create fake dependencies in C++ with Google Mock. This course will demonstrate how mocks can make unit tests easier and more predictable. It will also cover the usage of Google Mock with various unit testing frameworks and discuss best practices for mocking frameworks.

The course will enable developers to gain a working knowledge of mocking frameworks, specifically Google Mock, and empower them to unit-test any code effectively. Additionally, the course will delve into testing legacy code using unit testing techniques.

Unit testing is often perceived as a straightforward concept in tutorials and books. However, the challenges arise when developers encounter real-life scenarios with interdependent code. To overcome these challenges, it is necessary to utilize techniques such as mocks, stubs, and fakes.

The Advanced C++ Mocking using Google Mock course addresses these challenges by providing developers with the necessary skills to create fake dependencies in C++ using Google Mock. By leveraging mocks, developers can simplify and predict unit tests.

Furthermore, the course offers insights into integrating Google Mock with various unit testing frameworks and shares best practices for working with mocking frameworks.

The ability to effectively test legacy code is also covered in this course. Developers will learn how to apply unit testing techniques to legacy codebases, ensuring that their testing efforts are not limited to new projects.

By completing this course, developers will gain a comprehensive understanding of mocking frameworks, specifically Google Mock, and be equipped to confidently unit-test any code. They will acquire the skills necessary to tackle complex scenarios involving dependencies and improve the overall quality of their software development projects.

Course Overview

projects-img

International Faculty

projects-img

Case Based Learning

projects-img

Post Course Interactions

projects-img

Case Studies,Instructor-Moderated Discussions

projects-img

Case Studies, Captstone Projects

Skills You Will Gain

What You Will Learn

Unit Testing with Google Test

Creating Fake Objects

Setting Fake Object's Behavior

Verifying Behavior

Using Arguments and Matchers

Getting Your Legacy Code Under Control

Course Instructors

Author Image

Richard Warburton

Instructor

Richard is an empirical technologist and solver of deep-dive technical problems and works independently as a Software Engineer and Trainer. Recently he has written a book on Java 8 Lambdas for O'Reil...
Course Cover