Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 3.42 KB

README.md

File metadata and controls

38 lines (35 loc) · 3.42 KB

Solution summary

Solution contains seven projects:

  1. Calculator.Core - contains core logic for solution
  2. Calculator.Console - console application, references Calculator.Core
  3. Calculator.Server - ASP.NET Core service, references Calculator.Core
  4. Calculator.Core.Tests - contains unit tests for Calculator.Core
  5. Calculator.Console.Tests - contains tests for Calculator.Console, starts Calculator.Console as child process and verifies output
  6. Calculator.Server.Tests - standard ASP.NET Core tests for Calculator.Server project
  7. Calculator.Server.IntegrationTests - integration tests for Calculator.Server project. Before tests are executed Calculator.Server needs to be started locally

Scenarios

  1. Scenario 01 Default settings (binary .coverage report)
  2. Scenario 02 Cobertura format by command line
  3. Scenario 03 Cobertura format by configuration
  4. Scenario 04 XML format by command line
  5. Scenario 05 Exclude project, method and source file
  6. Scenario 06 Exclude tests projects and other libraries (xunit, moq)
  7. Scenario 07 Static instrumentation
  8. Scenario 08 Code coverage for console application
  9. Scenario 09 Code coverage for console application - static instrumentation
  10. Scenario 10 Code coverage for console application - static instrumentation with instrument command
  11. Scenario 11 Code coverage for child processes enabled
  12. Scenario 12 Code coverage for child processes disabled
  13. Scenario 13 Code coverage for ASP.NET Core tests
  14. Scenario 14 Code coverage for ASP.NET Core integration tests
  15. Scenario 15 Code coverage for ASP.NET Core integration tests - coverage collection in server mode
  16. Scenario 16 Code coverage for ASP.NET Core integration tests - code coverage report per test
  17. Scenario 17 Code coverage for ASP.NET Core integration tests - snapshots without resetting counters
  18. Scenario 18 Code coverage for whole solution
  19. Scenario 19 Code coverage for whole solution with test projects excluded
  20. Scenario 20 Code coverage for whole solution with logs
  21. Scenario 21 Code coverage for whole solution with script to run tests
  22. Scenario 22 Code coverage for child processes using static instrumentation without binaries restore
  23. Scenario 23 Code coverage for child processes using static instrumentation with binaries restore
  24. Scenario 24 Code coverage for whole solution (only unit tests)
  25. Scenario 25 Code coverage for whole solution (only unit tests - using dotnet-coverage)