Skip to content

Add test bases for CQRS handlers#9

Merged
dannygoodacre merged 10 commits intomainfrom
8-cqrs-test-bases
Jan 20, 2026
Merged

Add test bases for CQRS handlers#9
dannygoodacre merged 10 commits intomainfrom
8-cqrs-test-bases

Conversation

@dannygoodacre
Copy link
Owner

Add test bases for the five CQRS handlers in the core project.

@dannygoodacre dannygoodacre self-assigned this Jan 20, 2026
@dannygoodacre dannygoodacre linked an issue Jan 20, 2026 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Jan 20, 2026

Summary

Summary
Generated on: 01/20/2026 - 22:32:33
Coverage date: 01/20/2026 - 22:32:32
Parser: Cobertura
Assemblies: 2
Classes: 15
Files: 15
Line coverage: 79.3% (300 of 378)
Covered lines: 300
Uncovered lines: 78
Coverable lines: 378
Total lines: 996
Branch coverage: 85.8% (79 of 92)
Covered branches: 79
Total branches: 92
Method coverage: Feature is only available for sponsors

Coverage

DannyGoodacre.Core - 98.6%
Name Line Branch
DannyGoodacre.Core 98.6% 100%
DannyGoodacre.Core.CommandQuery.CommandHandler`1 100% 100%
DannyGoodacre.Core.CommandQuery.CommandHandler`2 100% 100%
DannyGoodacre.Core.CommandQuery.QueryHandler`2 94.7% 100%
DannyGoodacre.Core.CommandQuery.TransactionCommandHandler`1 95.2% 100%
DannyGoodacre.Core.CommandQuery.TransactionCommandHandler`2 95.2% 100%
DannyGoodacre.Core.Extensions.TypeExtensions 100% 100%
DannyGoodacre.Core.Result 100%
DannyGoodacre.Core.Result`1 100%
DannyGoodacre.Core.ServiceCollectionExtensions 100% 100%
DannyGoodacre.Core.ValidationState 100% 100%
DannyGoodacre.Testing.Core - 49.6%
Name Line Branch
DannyGoodacre.Testing.Core 49.6% 40.9%
DannyGoodacre.Testing.Core.CommandHandlerTestCore`1 0%
DannyGoodacre.Testing.Core.LoggerExtensions 94.4% 50%
DannyGoodacre.Testing.Core.QueryHandlerTestBase`2 0%
DannyGoodacre.Testing.Core.TestBase 67.8% 80%
DannyGoodacre.Testing.Core.TransactionCommandHandlerTestCore`1 0% 0%

Full coverage report artifact

@dannygoodacre dannygoodacre merged commit 5fb96e3 into main Jan 20, 2026
1 check passed
@dannygoodacre dannygoodacre deleted the 8-cqrs-test-bases branch February 1, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CQRS test bases

1 participant