The sample application is often used to demo the overall concept of headless CMS to non-technical people. It is highly undesired to see exceptions or perhaps missing pieces of content in the output pages.
Proposed solution
Once the application is ported to ASP.NET Core MVC, it will make sense to add a test project.
[x] Create an example unit test that would test controller by providing mocked responses as described here.
[ ] Add an example of a UI test
[x] Make sure the tests run locally and in AppVeyor
Blocked by #35 .
Motivation
The sample application is often used to demo the overall concept of headless CMS to non-technical people. It is highly undesired to see exceptions or perhaps missing pieces of content in the output pages.
Proposed solution
Once the application is ported to ASP.NET Core MVC, it will make sense to add a test project.
Reference