Click here to Skip to main content
15,885,546 members
Articles / Programming Languages / C#

Fluent Web API Integration Testing

Rate me:
Please Sign up or sign in to vote.
5.00/5 (13 votes)
22 May 2021CPOL16 min read 16.8K   125   17  
Write readable integration tests that exclusively call Web APIs
For the kind of work that I do, web API integration testing isn't just a simple matter of calling an API and verifying that I get the expected result, rather it's actually a workflow. For example, instead of setting up all the prerequisite data to conduct a single API test, the API itself is enlisted to do help with the data setup. Furthermore, the user's workflow is then tested which requires calling multiple endpoints sequentially.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Interacx
United States United States
Blog: https://marcclifton.wordpress.com/
Home Page: http://www.marcclifton.com
Research: http://www.higherorderprogramming.com/
GitHub: https://github.com/cliftonm

All my life I have been passionate about architecture / software design, as this is the cornerstone to a maintainable and extensible application. As such, I have enjoyed exploring some crazy ideas and discovering that they are not so crazy after all. I also love writing about my ideas and seeing the community response. As a consultant, I've enjoyed working in a wide range of industries such as aerospace, boatyard management, remote sensing, emergency services / data management, and casino operations. I've done a variety of pro-bono work non-profit organizations related to nature conservancy, drug recovery and women's health.

Comments and Discussions