This repository contains automation code for API testing with HttpClient C#, Nunit and FluentAssertion.
How to Run the test cases:
Using Visual studio IDE:
- Clone the Repository in Visual Studio
- In Visual Studio, Go to Test-> Test Settings -> Select Test Settings File -> Select test.runsettings file under solution Item folder
- Build and Run
Using Command lines:
- Open Developer Command Prompt to use the command-line tool, or you can find the tool in %Program Files(x86)%\Microsoft Visual Studio<version><edition>\common7\ide\CommonExtensions<Platform | Microsoft>\TestWindow
- Type command VSTest.Console "In.Reqres.Api.Tests.dll" /Settings:"test.runsettings"