Skip to content

Conversation

@fructuoso
Copy link
Owner

  • Updated target framework from netcoreapp3.1 to net8.0 in multiple projects.
  • Enabled nullable reference types and implicit usings in project files.
  • Upgraded package references for AutoMapper, Serilog, Swashbuckle, and Microsoft.Extensions.DependencyInjection to their latest versions.
  • Refactored GenericComparerFactory to use modern C# syntax and improved code structure.
  • Enhanced IDistributedCacheExtensions with async methods and improved serialization logic.
  • Updated unit tests to reflect changes in data structures and added new test cases for distinct functionality.
  • Created a test coverage script to automate testing and coverage report generation.

- Updated target framework from netcoreapp3.1 to net8.0 in multiple projects.
- Enabled nullable reference types and implicit usings in project files.
- Upgraded package references for AutoMapper, Serilog, Swashbuckle, and Microsoft.Extensions.DependencyInjection to their latest versions.
- Refactored GenericComparerFactory to use modern C# syntax and improved code structure.
- Enhanced IDistributedCacheExtensions with async methods and improved serialization logic.
- Updated unit tests to reflect changes in data structures and added new test cases for distinct functionality.
- Created a test coverage script to automate testing and coverage report generation.
…omponents

- Implement tests for DetranSPVerificadorDebitosRepository to validate debit retrieval and logging.
- Create tests for DebitosController to ensure correct handling of vehicle debit queries.
- Add tests for DetranMapper to verify mapping functionality between models.
- Introduce ExceptionHandlingMiddleware tests to confirm proper error handling and logging.
- Develop ResultModel tests to validate success and failure result models.
- Create tests for ServiceCollectionExtensions to ensure proper service decoration.
- Add tests for IDistributedCacheExtensions to validate caching functionality.
- Establish project files for WebAPI.Tests and Workbench.IDistributedCache.Extensions.Tests.
@github-actions
Copy link

Summary - DesignPatternSamples - Code Coverage

Summary
Generated on: 01/22/2026 - 19:19:01
Coverage date: 01/22/2026 - 19:18:23 - 01/22/2026 - 19:18:59
Parser: MultiReport (13x Cobertura)
Assemblies: 8
Classes: 27
Files: 25
Line coverage: 98.5% (209 of 212)
Covered lines: 209
Uncovered lines: 3
Coverable lines: 212
Total lines: 643
Branch coverage: 81.2% (26 of 32)
Covered branches: 26
Total branches: 32
Method coverage: Feature is only available for sponsors
Tag: monorepo;dotnet8;ci

Coverage

DesignPatternSamples.Application - 100%
Name Line Branch
DesignPatternSamples.Application 100% 100%
DesignPatternSamples.Application.Decorators.DetranVerificadorDebitosDecorat
orCache
100%
DesignPatternSamples.Application.Decorators.DetranVerificadorDebitosDecorat
orLogger
100%
DesignPatternSamples.Application.DTO.DebitoVeiculo 100%
DesignPatternSamples.Application.DTO.Veiculo 100%
DesignPatternSamples.Application.Implementations.DetranVerificadorDebitosSe
rvices
100% 100%
DesignPatternSamples.Infra.Repository.Detran - 98.3%
Name Line Branch
DesignPatternSamples.Infra.Repository.Detran 98.3% 75%
DesignPatternSamples.Infra.Repository.Detran.DetranPEVerificadorDebitosRepo
sitory
100%
DesignPatternSamples.Infra.Repository.Detran.DetranRJVerificadorDebitosRepo
sitory
100%
DesignPatternSamples.Infra.Repository.Detran.DetranRSVerificadorDebitosRepo
sitory
100%
DesignPatternSamples.Infra.Repository.Detran.DetranSPVerificadorDebitosRepo
sitory
100%
DesignPatternSamples.Infra.Repository.Detran.DetranVerificadorDebitosFactor
y
90% 75%
DesignPatternSamples.Infra.Repository.Detran.DetranVerificadorDebitosReposi
toryCrawlerBase
100%
DesignPatternSamples.WebAPI - 100%
Name Line Branch
DesignPatternSamples.WebAPI 100% ****
DesignPatternSamples.WebAPI.Controllers.Detran.DebitosController 100%
DesignPatternSamples.WebAPI.Mapper.DetranMapper 100%
DesignPatternSamples.WebAPI.Middlewares.ExceptionHandlingMiddleware 100%
DesignPatternSamples.WebAPI.Models.AbstractResultModel`1 100%
DesignPatternSamples.WebAPI.Models.Detran.DebitoVeiculoModel 100%
DesignPatternSamples.WebAPI.Models.Detran.VeiculoModel 100%
DesignPatternSamples.WebAPI.Models.FailureResultModel 100%
DesignPatternSamples.WebAPI.Models.FailureResultModel`1 100%
DesignPatternSamples.WebAPI.Models.ResultDetail 100%
DesignPatternSamples.WebAPI.Models.SuccessResultModel 100%
DesignPatternSamples.WebAPI.Models.SuccessResultModel`1 100%
Workbench.Comparer - 100%
Name Line Branch
Workbench.Comparer 100% ****
Workbench.Comparer.GenericComparerFactory`1 100%
Workbench.DependencyInjection.Extensions - 100%
Name Line Branch
Workbench.DependencyInjection.Extensions 100% 100%
Workbench.DependencyInjection.Extensions.ServiceCollectionExtensions 100% 100%
Workbench.IDistributedCache.Extensions - 100%
Name Line Branch
Workbench.IDistributedCache.Extensions 100% 100%
Workbench.IDistributedCache.Extensions.IDistributedCacheExtensions 100% 100%
Workbench.IFormatter.Extensions - 86.6%
Name Line Branch
Workbench.IFormatter.Extensions 86.6% 50%
Workbench.IFormatter.Extensions.IFormatterExtensions 86.6% 50%
Workbench.Linq.Extensions - 100%
Name Line Branch
Workbench.Linq.Extensions 100% ****
Workbench.Linq.Extensions.DistinctExtensions 100%

@fructuoso fructuoso merged commit 36d23fb into main Jan 22, 2026
11 checks passed
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.

2 participants