4 Testing API designs
This chapter covers
- Using question techniques to test designs and ideas
- How to get teams collaborating around API designs to help facilitate testing
- Documenting APIs to increase shared understanding and assist in testing
- How testing API designs sits in a testing strategy
Imagine that someone is assessing our restful-booker-platform API sandbox to determine whether it’s an application that they would like to use for a B&B. As they begin to explore it, they discover that the room API needs to be called to create a room that can be booked. As they look through the API documentation, they come across details similar to the ones shown in figure 4.1.
Get Testing Web APIs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.