Provide documentation (and, or NuGet?) for testing an application which consumes this library. #3
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
Issue
If the main host consumes/uses this library, then when trying to create an integration test (to test the route, etc), the following error occurs:
Solution
The reason is, the testing framework is trying to find a hardcoded method name.
SimpleHosting
has it's own method name and as such, can't be found. Therefore, some documentation is required to explain to a developer how she/he can successfully test (by creating their own customWebApplicationFactory
and possible consider wrapping this into a nuget package.The text was updated successfully, but these errors were encountered: