Lesson 40. Unit testing in F#
Let’s start this unit with a quick review of basic unit-testing tools and how they relate to F#. You’ll see
- How to approach unit testing in F#
- How to write unit tests with F# and Visual Studio
- How to use F# DSLs for popular unit-testing libraries
40.1. Knowing when to unit test in F#
Earlier in this book, I touched briefly on unit testing and indicated that in F# you might not need as much unit testing as you have previously. This section provides an overview of what I consider different levels of unit testing, and how and where they’re appropriate in F#. This section also covers various forms of unit-testing practices, including test-driven development (TDD).
40.1.1. Unit-testing complexity
Let’s start by stating ...
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.