Course
Skills Expanded
Test-Driven Development with F#
Learn how the intersection between Test-Driven Development and F# presents opportunities for better design and better testability.
What you'll learn
In this course, you'll learn about some of the problems associated with mainstream Test-driven Development (TDD), and how working in F# enables you to use TDD without compromising the design of your code. You'll learn how to write tests first in F#, how to build a complete system out of small, isolated functions, and finally see how to express test cases as properties instead of examples.
Table of contents
The State of TDD
25mins
- Introduction 3m
- Module 1 Overview 1m
- Problem Statement 1m
- Demo Introduction: Transaction Script 1m
- Demo: Transaction Script 6m
- Demo Recap: Transaction Script 1m
- Test-induced Damage 0m
- Demo Introduction: Test-induced Damage 1m
- Demo: Test-induced Damage 11m
- Demo Recap: Test-induced Damage 1m
- Summary 1m
From OOP to FP
23mins
Functional TDD
41mins
Putting It All Together
47mins
- Introduction 1m
- Outside-in and Back 1m
- Demo Introduction: Error Handling 0m
- Demo: Error Handling 9m
- Demo Recap: Error Handling 1m
- Remaining Building Blocks 2m
- Data Access TDD 1m
- Demo Introduction: Data Access Implementation 1m
- Demo: Data Access Implementation 3m
- Demo Recap: Data Access Implementation 0m
- Some Assembly Required 1m
- Demo Introduction: Composition 1m
- Demo: Composition 8m
- Demo Recap: Composition 1m
- Devil's Advocate 2m
- Demo Introduction: Property-based Tests 0m
- Demo: Property-based Tests 14m
- Demo Recap: Property-based Tests 1m
- Summary 1m