A project to help demonstrate how to do unit, integration and acceptance tests with an web api project using ASP.NET Core and Angular 7 front end.
From the terminal, in the project root, simply run:
dotnet test
Or run them from each test project directory (on the test
subdir) or
directly from Visual Studio.
Run dotnet run
from src/SampleApp
.
First run the api app, then run npm start
from src/FrontEnd
.
This was compiled with the v2.2.2 sdk (dotnet version 2.2.104). Anything after
that should run. To try different versions, simply remove global.json
from the root.
Questions, comments, bug reports, and pull requests are all welcome. Submit them at the project on GitHub.
Bug reports that include steps-to-reproduce (including code) are the best. Even better, make them in the form of pull requests.
Licensed under the Apache License, Version 2.0.