Testing with F#
- Exclusive ContentScan the cover in the app
- CommunityDiscuss & Share
About this book
Test automation is the first subject here, with the ideas behind it explained before any code appears. From there, the book walks through preparing an environment for unit tests and running a test suite both inside Visual Studio and from outside it.
The examples draw on three common F# test frameworks: MSTest, NUnit and xUnit. Readers learn to write tests that stand alone, to build test doubles using Foq, and to make assertions easier to read with FsUnit.
Later chapters apply these methods to harder cases. They cover mocking database contexts, testing stored procedures, using database migrations to test against isolated databases, driving a web browser with Canopy, and testing web services from F# interactive.
The book closes by connecting these techniques to Agile principles and showing where testing belongs in the everyday work of a software project.
Reader reviews
No reviews yet. Share your thoughts on this book in the Appilog app.
Book Details
- ISBN
- 9780470116494
- Author
- Mikael Lundin
- Publisher
- Wiley
- Genres
- Technology & Computing
Media & Extras
This book has 0 videos that play on its cover. Scan the cover with the Appilog app to watch.
Get the app
