History
Let’s start our course from a short introduction of the Rest Sharp’s history. REST Sharp is developed and maintained by John Sheehan, Andrew Young and Alexey Zimarev with the help of numerous other contributors over the years. All of them are Software Developers interested in architecture, distributed systems, DevOps. They started the project in 2009. The project is now sponsored by Apache.
Reasons to Learn Rest Sharp
We should learn Rest Sharp since it is one of the most popular tools for testing of REST web services in the modern software development world. There are a few main benefits which its usage on the project gives to you.
Part 1
First, you should not write much redundant code for project setup. Let’s imagine a case that a new project is started, and you need to set up API automated testing process. In this case, you will need to select tools for this purpose. The best choice will be a well-debugged and tested technology recommended to different testers from all the world. Rest Sharp will be the best choice here, since you should not create some template code representing HTTP Connection, request sending logic, and parsing of response.
Part 2
Finally, Rest Sharp may be easily integrated into CI-CD pipelines. This library is written in C# programming language, where NUnit, and XUnit are the main test runners. In its turn, Rest Sharp perfectly matches these runners, and doesn’t require some additional setup. Most of the modern CI services such as Jenkins, TeamCity, etc. can easily retrieve test results generated by C#, and one of the test runners, which makes it possible to make Rest Sharp tests a part of your CI pipeline.
