FakeItEasy
Год выпуска: 2012
Производитель:
pluralsight-training.net
Автор: Donald Belcham, Jim Cooper
Продолжительность: 01:21:38
Тип раздаваемого материала: Видеоурок
Язык: Английский
Описание: 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.
Содержание
Introduction 00:00:47
Introduction 00:47
Using Test Doubles to Improve Unit Tests 00:04:08
Introduction 00:09
Unit Testing Can Be Difficult 01:15
Properties of a Good Unit Test 01:40
How Test Doubles Can Help 01:04
Hand Rolled Mock Objects 00:16:46
Introduction 00:27
Creating Hand Rolled Mocks 02:15
Demo: Creating Hand Rolled Mocks 07:44
The Good 01:17
The Bad 01:04
The Ugly 02:38
Summary 01:21
Introduction to FakeItEasy 00:03:11
Introduction 00:24
What Is FakeItEasy 00:20
Fakes vs. Mocks vs. Stubs 00:55
Supported Frameworks 00:29
Installation 00:36
Summary 00:27
Faking with FakeItEasy 00:49:40
Introduction 01:08
AAA Syntax 00:58
AAA Syntax: Demo: AAA Syntax 03:19
Verifying Behaviours 01:10
Demo: Simple Verification 02:30
Demo: Verifying Multiple Calls 03:46
Return Values 01:14
Demo: Controlling Execution Flow 07:04
Demo: Out Parameters 03:05
Demo: Returning Different Values 02:49
Parameters 01:15
Demo: Verifying Specific Parameter Values 03:51
Exceptions 01:25
Demo: Exceptions 02:52
Properties 01:31
Demo: Verifying Setters 01:54
Demo: Verifying Getters 01:26
Demo: Auto Mocking Hierarchies 02:48
Events 01:07
Demo: Verifying Events 03:19
Ordered Assertions 00:28
Summary 00:41
Advanced Faking with FakeItEasy 00:07:06
Introduction 00:27
Strict vs. Loose Mocks 01:23
Protected Members 01:18
Demo: Protected Members 03:26
Summary 00:32
Файлы примеров: отсутствуют
Формат видео: WMV
Видео: WMV3, 1024x768, 15 fps, ~120 kbps
Аудио: WMA v2, 44100Hz, 128 kb/s, Stereo