Outside-In Test-Driven Development

Learn how to apply Test-Driven Development to target both the big picture and the smallest details of your application.
Course info
Rating
(522)
Level
Intermediate
Updated
Jan 16, 2013
Duration
2h 27m
Table of contents
Walking Skeleton
Spiking
Triangulation
Behavior Verification
Description
Course info
Rating
(522)
Level
Intermediate
Updated
Jan 16, 2013
Duration
2h 27m
Description

This course teaches how to build an application from the outside in - starting with tests targeting actual features or use cases of an application, but gradually working towards a more and more detailed specification of the components of an application. The focus is on the technical side of TDD, not the business side. Approximately half of the content is a series of C# demos, building a small RESTful service from scratch.

About the author
About the author

Mark Seemann is the author of Dependency Injection in .NET and the inventor of AutoFixture. He is a professional programmer and software architect living in Copenhagen, Denmark, and currently an independent advisor. He enjoys reading, drawing, playing the guitar, good wine, and gourmet food.

More from the author
Type-Driven Development with F#
Intermediate
3h 56m
17 Jul 2015
Test-Driven Development with F#
Intermediate
2h 17m
6 May 2015
Introduction to Property-based Testing with F#
Intermediate
1h 34m
17 Apr 2015
More courses by Mark Seemann
Section Introduction Transcripts
Section Introduction Transcripts

Walking Skeleton
Hello. My name is Mark Seemann, and this is the Outside-In Test-Driven Development course, Module 1, Walking Skeleton. In this module you'll learn how to build a walking skeleton by applying Outside-In Test-Driven Development. This may not make a lot of sense to you right now, but once the module has completed, it should. In order to get you there, I'll give you a brief introduction to the concepts involved, including the concept of a walking skeleton. Also briefly talk about positioning Outside-In Test-Driven Development against other types of software testing, just to clear out any misunderstandings that might arise. Once we've discussed all those concepts, I'll show you a demonstration of building a walking skeleton using C#.

Spiking
Mark Seemann: Hello. My name is Mark Seemann, and this is the Outside-In Test-Driven Development course Module Two, Spiking. In this course you'll learn about the concept of spiking itself. You'll also learn about a concept called FIRST, which is actually an acronym that describes some attractive prophecies that your unit test should have when you do test-driven development. You'll also learn about fixture, setup and teardown, which are part of a pattern called Four Phase Test. All of those things are important when we look at Outside-In Test-Driven Development and this concept of spiking. And to pull it all together, I'll show you a couple of demos with Visual Studio and C-sharp that demonstrate how to apply these principles.

Triangulation
Hello, my name is Mark Seemann and this is the Outside-in Test Driven Development course, module three, triangulation. In this course you'll learn about triangulation which is one of two major approaches to unit testing. And I'll show you a demo of how that works. You'll also learn about a technique called devil's advocate which you can use with test driven development and I'll show you a demo of that.

Behavior Verification
Mark Seemann: Hello. My name is Mark Seemann and this is the Outside in Test Driven and Development course Module 4, Behavior Verification. In the last module, you learned about triangulation, which is one of two major approaches to unit testing. In this module, you'll learn about behavior verification, which is the other major approach. You'll also learn about something called characterization tests and sticking with the style from the previous modules in this course there's also going to be extended demos of everything.