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 ...

Get Get Programming with F# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.