The article Integration tests in ASP.NET Core in the ASP.NET official documentation has covered lots of aspects on the integration tests in ASP.NET Core using xUnit test framework. However, it brings up confusions and difficulties to developers who are more familiar to other test frameworks. For example, questions in GitHub issues 1
Feel free to use the code in this repository as it is under MIT license.