April 2016
Intermediate to advanced
222 pages
4h 30m
English
In Chapter 4, Setting Up and Cleaning Up, we learned how to manage external resources such as databases and web services. In this chapter, we'll learn more advanced techniques for managing external web services using the VCR gem, which allows us to record real HTTP requests and then replay them in our tests.
It is increasingly common for software to rely on external web services. These can be from a third party, such as the openweathermap.org API we saw in Chapter 4, Setting Up and Cleaning Up. However, we are likely to also interact with web services from within our own organization, or those that we have written ourselves. Not only do web services allow us to access ...
Read now
Unlock full access