O'Reilly logo

Testing with F# by Mikael Lundin

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

Chapter 3. Setting Up Your Test Environment

Before getting started with writing unit tests, we need to make sure we have an environment good enough for running them. There are some tools built into Visual Studio we will use for development: tools to download and tools to buy.

This chapter will be a step-to-step guide on how to set up your test environment by covering the following subjects:

  • F# Interactive
  • Testing in Visual Studio
  • Testing outside Visual Studio
  • Setting up a build script with FAKE (F# Make)
  • Running tests in continuous integration

After reading this chapter, you will be ready to start writing tests.

F# Interactive

One of the coolest things about F# is that its development environment comes with an interactive test environment: F# Interactive. ...

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