O'Reilly logo

Get Programming with F#: A guide for .NET developers by Isaac Abraham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lesson 43. Capstone 8

Phew—this is the last capstone exercise in this book! You’ll be performing unit testing here, and applying some of the techniques and tools presented in this unit to the Bank Accounts system you’ve been working on throughout the book.

43.1. Defining the problem

In this capstone, you’ll add a set of tests to the business logic domain of your application, using various test libraries that you’ve seen in this unit, from simple unit testing with xUnit, to DSL-based testing with Unquote, before finally writing a couple of property-based tests. You’ll test a couple of tiers as well. In this example, you won’t be writing any Canopy-based tests, but you’ll test a couple of internal layers within the application: the Web API tier ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required