As we approach 2023, the world of ASP.NET is evolving at an unprecedented pace. The latest trends in this field are set to revolutionize the entire development process and bring forth new possibilities for businesses. This is an exciting time for developers all over the globe, as new tools and platforms are emerging, and existing […]
Category: API
How Should Web APIs be Tested?
APIs are a type of protocol used to communicate between applications on different computers or mobile devices. One or more virtual machine environments (VMS manage the protocol) provide the API application servers. An API is an application programming interface (API), also known as a protocol or message format. It is defined in RFCs and can […]
Testing ASP.NET Core Web APIs
When designing and developing a wide variety of APIs using ASP.NET Core 2.1 Web API, it is important to understand that this is only the first step in creating a productive and stable solution. Having a stable environment for your solution is also very important. The key to a great solution is not only to build the API correctly, but also to thoroughly test it to eliminate the possibility of negative user experience while using your API.
How should web APIs be tested?
I am a big proponent of using unit testing to keep the API stable and robust for your users. But I get smart about how I use my unit tests and what I’m testing. My philosophy is that you should only unit test your project as much as necessary.