baratgabor / MyWarehouse

Clean Architecture and Domain Driven Design sample project based on C# 10 / .NET 6 / ASP.NET Core 6 / EF Core 6 & Angular 11 with Bootstrap.
MIT License
239 stars 67 forks source link

Coverage badge misrepresenting the actual coverage #17

Open baratgabor opened 3 years ago

baratgabor commented 3 years ago

The coverage is currently only calculated for the application core, i.e. Application and Domain layers.

This is still highly meaningful, since that covers the actual business operations, but the WebApi and the Infrastructure assembly is excluded, as well as the Angular frontend assembly (WebUI).

Edit: Added unit tests with high coverage for WebApi.

Would be good to communicate this somehow, because currently it can potentially mislead people about the quality of the project, while the frontend in particular has zero testing.

(Sadly Coveralls badges don't provide customizability.)