Quantcast
Channel: Download Training Course Video Tutorial Ebook Pdf Learning» PluralSight
Viewing all articles
Browse latest Browse all 125

Microsoft Fakes Fundamentals

$
0
0

Pluralsight - Microsoft Fakes Fundamentals

Pluralsight – Microsoft Fakes Fundamentals

Authored by: Cooper , Belcham | Duration: 1h 56m | Level: Intermediate | Released: 10/10/2012 | 209.5 MB

In this course Jim teaches how to use the Microsoft Fakes provided with Visual Studio 2012 to isolate your tests from the dependencies of the classes you are unit testing. He teaches how to use stubs to track dependency collaboration and to control program flow. Then he wraps up by showing how to use shims to test legacy code.

Microsoft Fakes Fundamentals 00:01:43
Introduction 01:43

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

Using Stubs to Improve a Unit Test 00:41:46
Introduction 00:10
Demo: An Example of a Poor Quality Unit Test 05:40
Revisit: Properties of a Good Unit Test 01:29
Demo: The Dependency Inversion Principle 03:58
Demo: Generating the Stubs Assembly 04:45
Demo: Fixing the Test with a Stub 19:10
Recap: Properties of a Good Unit Test 00:14
Demo: Using Stubs To Verify Property Setters 06:20

Using Stubs to Control Program Flow 00:23:53
Introduction 00:09
Another Challenge – Controlling Program Flow 01:40
Demo: Using Stubs to Control Program Flow 09:38
Demo: Stubbing Property Getters 03:30
Demo: Stubbing Generic Methods 05:48
Demo: Default Behaviors 02:27
Recap 00:41

Using Shims to Test Legacy Code 00:27:45
Introduction 00:09
What Shims Were Designed To Do 05:34
Demo: Shimming Static Methods 14:24
Demo: Shimming Private Methods 03:42
Demo: Shimming Constructors 03:56

Summary 00:00:25
Summary 00:25

.

Download:

Incoming search terms:

  • microsoft fakes tutorial
  • ax 2012 dynamics unit test fakes
  • how to mock iprincipal inside controller using microsoft fakes
  • microsoft fakes download
  • microsoft fakes unit testing book
  • pluralsight Microsoft fakes
  • visual studio fakes book

Share


Viewing all articles
Browse latest Browse all 125

Trending Articles