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 5. Integration Testing

If unit testing is a way of driving the design of your code, integration testing is purely focused on verifying that your code is working as expected. In this chapter, we will focus on how to use F# for integration testing, touching on the following subjects:

  • Writing good integration tests
  • Setting up and tearing down databases
  • Speeding up integration testing
  • Testing stored procedures
  • Testing web services

After reading this chapter, you will know how to produce high-quality integration tests that will help you improve your system's stability and verify the contracts to external systems.

Good integration tests

An integration test is a black box test where we try to verify that the different parts of a system work well together. ...

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