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

Testing web services

In this chapter, I have been talking exclusively about databases because database is the most common part of a system where you would want to perform the integration test. The database is often part of your system design and a unit in the solution architecture. Web services are in our architecture just as often internal to our systems as hosted externally by a third party.

This leads us to the question: should we test external web services?

Most of the time, you should not care about testing external services. If there is a well-defined API that feels stable, it is not your responsibility to cover it with tests.

However, if the external API is developed as a part of your solution, there could be a huge benefit for you to write ...

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