Testing with F#

Deliver high-quality, bug-free applications by testing them with efficient and expressive functional programming

Testing with F#

Mikael Lundin

Deliver high-quality, bug-free applications by testing them with efficient and expressive functional programming
eBook
$10.00
RRP $26.99
Save 62%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$10.00
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook

Frequently bought together


Testing with F# Book Cover
Testing with F#
$ 26.99
$ 10.00
F# 4.0 Design Patterns Book Cover
F# 4.0 Design Patterns
$ 35.99
$ 10.00
Buy 2 for $20.00
Save $42.98
Add to Cart

Book Details

ISBN 139781784391232
Paperback286 pages

Book Description

Starting with an introduction to the concepts behind test automation, you will learn how to set up your test environment for unit testing and how to execute your test suite within and outside of Visual Studio. Using different test frameworks as MSTest, NUnit, and xUnit, you will learn how to write tests in isolation, create test doubles with Foq, and write expressive assertions with FsUnit.

You will learn techniques used to mock database contexts, test stored procedures, use migrations to test databases in isolation, control a web browser with Canopy, and test web services with F# interactive. You will learn how these techniques apply to Agile principles and discover how testing fits into your project.

Table of Contents

What You Will Learn

  • Set up a test environment in your code base
  • Write unit tests, integration tests, and functional tests for F# applications
  • Leverage tools such as FsUnit, Foq, Canopy, and TickSpec to run tests both inside and outside your development environment
  • Maximize the productivity of your test code using the language features of F#
  • Extract dependencies to databases, web services, and other IO bound operations
  • Test your applications using executable specifications on a web browser
  • Discover the best practices for developing a sustainable test suite

Authors

Table of Contents

Book Details

ISBN 139781784391232
Paperback286 pages
Read More

Read More Reviews

These popular $10 titles might interest you

F# 4.0 Design Patterns Book Cover
F# 4.0 Design Patterns
$ 35.99
$ 10.00
F# High Performance Book Cover
F# High Performance
$ 35.99
$ 10.00
Mastering F# Book Cover
Mastering F#
$ 35.99
$ 10.00
Mastering C# and .NET Framework Book Cover
Mastering C# and .NET Framework
$ 35.99
$ 10.00
RESTful Web API Design with Node.js - Second Edition Book Cover
RESTful Web API Design with Node.js - Second Edition
$ 23.99
$ 10.00
Functional C# Book Cover
Functional C#
$ 39.99
$ 10.00