A demo project to showcase API testing in C# language using RestSharp package.
This project is developed and tested on dotnet core 3.1 on Mac OSX with Jetbrains Rider as IDE
The tests directory has different tests,
- TestsWithGetOperation - Tests showing usage of GET operation.
- TestsWithMultipleData - Tests showing usage of Data-Driven capability using NUnit and RestShap
- TestsWithPostOperation - Tests showing usage of POST operation.
- TestsWithReports - Tests showing integration of Extent Reports with RestSharp.
This project has two helper classes to assist write better tests,
- Helper - Helper Class to organize commonly used methods
- Reporter - Reporter Class that has Extent Report package integration.
Please feel free to extend this boilerplate project as per your needs.
Looking forward to community contributions,
- Test for Multiple operations
- Test with Pact.Net for Contract testing