Course
Skills Expanded
FakeItEasy
A look at mocking objects with the FakeItEasy framework.
What you'll learn
This prepares you with the fundamental reasons that you would want to use a mocking framework. It also covers, in detail, how to create and use fakes (or mock objects as they're commonly known) using the FakeItEasy framework as well as advanced usages of that framework.
Table of contents
Introduction
0mins
Using Test Doubles to Improve Unit Tests
4mins
Hand Rolled Mock Objects
16mins
Introduction to FakeItEasy
3mins
Faking with FakeItEasy
49mins
- Introduction 1m
- AAA Syntax 1m
- AAA Syntax: Demo: AAA Syntax 3m
- Verifying Behaviours 1m
- Demo: Simple Verification 3m
- Demo: Verifying Multiple Calls 4m
- Return Values 1m
- Demo: Controlling Execution Flow 7m
- Demo: Out Parameters 3m
- Demo: Returning Different Values 3m
- Parameters 1m
- Demo: Verifying Specific Parameter Values 4m
- Exceptions 1m
- Demo: Exceptions 3m
- Properties 2m
- Demo: Verifying Setters 2m
- Demo: Verifying Getters 1m
- Demo: Auto Mocking Hierarchies 3m
- Events 1m
- Demo: Verifying Events 3m
- Ordered Assertions 0m
- Summary 1m
Advanced Faking with FakeItEasy
7mins