System Testing ASP.NET Core APIs using XUnit

added by DotNetKicks
7/7/2019 12:59:19 AM

2 Kicks, 246 Views

This article shows how an ASP.NET Core API could be tested using system tests implemented using XUnit. The API is protected using JWT Bearer token authorization, and the API uses a secure token server to validate the API requests. When running the tests, the access token needs to be requested, and used to access the...