Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add modules #968

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Add modules #968

wants to merge 17 commits into from

Conversation

gritcsenko
Copy link
Owner

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes:

Definition of done

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@gritcsenko gritcsenko added this to the Milestone 1 milestone Sep 2, 2024
@gritcsenko gritcsenko self-assigned this Sep 2, 2024
@gritcsenko gritcsenko linked an issue Sep 2, 2024 that may be closed by this pull request
@github-actions github-actions bot added enhancement New feature or request maintenance labels Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
nuget/Microsoft.Extensions.Configuration.Abstractions >= 0 🟢 6.5
Details
CheckScoreReason
Code-Review🟢 8Found 20/24 approved changesets -- score normalized to 8
Maintained🟢 1030 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Security-Policy🟢 10security policy file detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Packaging⚠️ -1packaging workflow not detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities🟢 100 existing vulnerabilities detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
nuget/Microsoft.Extensions.DependencyInjection.Abstractions >= 0 🟢 6.5
Details
CheckScoreReason
Code-Review🟢 8Found 20/24 approved changesets -- score normalized to 8
Maintained🟢 1030 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Security-Policy🟢 10security policy file detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Packaging⚠️ -1packaging workflow not detected
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities🟢 100 existing vulnerabilities detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Manifest Files

src/HomeInventory/HomeInventory.Contracts.UserManagement.Validators/HomeInventory.Contracts.UserManagement.Validators.csproj
  • FluentValidation@>= 0
src/HomeInventory/HomeInventory.Contracts.Validations/HomeInventory.Contracts.Validations.csproj
  • FluentValidation@>= 0
src/HomeInventory/HomeInventory.Modules.Interfaces/HomeInventory.Modules.Interfaces.csproj
  • Microsoft.Extensions.Configuration.Abstractions@>= 0
  • Microsoft.Extensions.DependencyInjection.Abstractions@>= 0
src/HomeInventory/HomeInventory.Domain/HomeInventory.Domain.csproj
  • Microsoft.Extensions.DependencyInjection.Abstractions@>= 0
src/HomeInventory/HomeInventory.Web.Framework/HomeInventory.Web.Framework.csproj
  • MediatR@>= 0

Copy link

github-actions bot commented Sep 3, 2024

Test Results

270 tests  +11   270 ✅ +11   8s ⏱️ -1s
  1 suites ± 0     0 💤 ± 0 
  1 files   ± 0     0 ❌ ± 0 

Results for commit dcd91d8. ± Comparison against base commit 5028ae9.

This pull request removes 23 and adds 34 tests. Note that renamed tests count towards both.
HomeInventory.Tests.DependencyInjection.ApplicationDependencyInjectionTests ‑ ShouldRegister
HomeInventory.Tests.DependencyInjection.DomainDependencyInjectionTests ‑ ShouldRegister
HomeInventory.Tests.DependencyInjection.InfrastructureDependencyInjectionTests ‑ ShouldRegister
HomeInventory.Tests.DependencyInjection.UserManagementInfrastructureDependencyInjectionTests ‑ ShouldRegister
HomeInventory.Tests.DependencyInjection.WebDependencyInjectionTests ‑ ShouldUse
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests ‑ ShouldMap(instance: AuthenticateResult { Id = 01J7R792TFA15J272CEXJZK1Q8, Token = Tokene09cbefa-52f3-4e64-a437-8485ca21583b }, destination: typeof(HomeInventory.Contracts.LoginResponse))
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests ‑ ShouldMap(instance: LoginRequest { Email = Email0534410a-509d-4012-984f-667e8846c337, Password = Password47586d6f-0ca0-4e3d-9b22-6365ab39a0b8 }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQuery))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: 01J7R792TNCXBHBABMFHHEC875, destination: typeof(System.Ulid))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: 01J7R792TNGGSZRF3E918WXDP1, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: Amount { Unit = Minim (01J7R790N08PZ8PRX5GQ1H5CRM), Value = 51 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
…
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnContext WhenItIsSet
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnContext WhenResetAndDisposed
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnContext WhenSetMultipleTimesAndDisposed
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnLatestContext WhenSetMultipleTimes
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnNull WhenNothingIsSet
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnNull WhenResetIsCalled
HomeInventory.Tests.Core.ScopeTests ‑ Get ShouldReturnNull WhenSetAndDisposed
HomeInventory.Tests.Modules.ApplicationFeaturesModuleTests ‑ ShouldRegisterServices
HomeInventory.Tests.Modules.DomainModuleTests ‑ ShouldRegisterServices
HomeInventory.Tests.Modules.InfrastructureDatabaseModuleTests ‑ ShouldRegisterServices
…

♻️ This comment has been updated with latest results.

@gritcsenko gritcsenko changed the title Add some modules Add modules Sep 3, 2024
Copy link

Code Coverage

Package Line Rate Branch Rate Health
HomeInventory.Application.UserManagement 98% 100%
HomeInventory.Application.Framework 86% 100%
HomeInventory.Domain.Primitives 85% 75%
HomeInventory.Core 89% 82%
HomeInventory.Contracts.Validations 100% 100%
HomeInventory.Infrastructure 88% 77%
HomeInventory.Domain.UserManagement 100% 100%
HomeInventory.Tests.Framework 80% 61%
HomeInventory.Modules 71% 67%
HomeInventory.Infrastructure.Framework 83% 44%
HomeInventory.Application 95% 66%
HomeInventory.Application.UserManagement.Interfaces 100% 100%
HomeInventory.Infrastructure.UserManagement 93% 50%
HomeInventory.Modules.Interfaces 80% 100%
HomeInventory.Web.UserManagement 100% 100%
HomeInventory.Web 74% 68%
HomeInventory.Domain 88% 89%
HomeInventory.Contracts.UserManagement.Validators 100% 92%
HomeInventory.Web.Framework 65% 25%
Summary 82% (1594 / 1934) 65% (340 / 526)

Minimum allowed line rate is 60%

Copy link

Summary

Summary
Generated on: 09/15/2024 - 16:03:20
Coverage date: 09/15/2024 - 16:03:07
Parser: Cobertura
Assemblies: 19
Classes: 227
Files: 214
Line coverage: 82.8% (1659 of 2002)
Covered lines: 1659
Uncovered lines: 343
Coverable lines: 2002
Total lines: 5710
Branch coverage: 66.1% (348 of 526)
Covered branches: 348
Total branches: 526
Method coverage: Feature is only available for sponsors
Tag: 2087_10872398322

Coverage

HomeInventory.Application - 95.3%
Name Line Branch
HomeInventory.Application 95.3% 65.6%
HomeInventory.Application.ApplicationMediatrModule 100%
HomeInventory.Application.ApplicationMediatrSupportModule 100% 100%
HomeInventory.Application.BaseHealthCheck 88.8% 100%
HomeInventory.Application.Cqrs.Behaviors.LoggingBehavior`2 86.6% 50%
HomeInventory.Application.Cqrs.Behaviors.UnitOfWorkBehavior`2 93.7% 75%
HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQueryHandle
r
100% 100%
HomeInventory.Application.HealthCheckTags 100%
HomeInventory.Application.LogEvents 100% 62.5%
HomeInventory.Application.MediatRServiceConfigurationExtensions 100%
Microsoft.Extensions.DependencyInjection.ApplicationFeaturesModule 100%
HomeInventory.Application.Framework - 86.2%
Name Line Branch
HomeInventory.Application.Framework 86.2% ****
HomeInventory.Application.Cqrs.DomainEvents.DomainEventNotification 100%
HomeInventory.Application.Cqrs.DomainEvents.DomainEventNotification`1 100%
HomeInventory.Application.Framework.BaseModuleWithMediatr 100%
HomeInventory.Application.Framework.FeatureFlag 100%
HomeInventory.Application.Framework.FeatureFlag`1 100%
HomeInventory.Application.Framework.FeatureManagerExtensions 0%
HomeInventory.Application.Framework.Mapping.BaseMappingsProfile 100%
HomeInventory.Application.Framework.Mapping.TypeConverterAdapter`3 100%
HomeInventory.Application.Interfaces.Messaging.CommandHandler`1 100%
HomeInventory.Application.Interfaces.Messaging.QueryHandler`2 66.6%
HomeInventory.Application.MappingAssemblySource 0%
Microsoft.Extensions.DependencyInjection.ApplicationFrameworkServiceCollect
ionExtensions
100%
HomeInventory.Application.UserManagement - 97.6%
Name Line Branch
HomeInventory.Application.UserManagement 97.6% 100%
HomeInventory.Application.Cqrs.Commands.Register.F5
901BC97285218797F4748A7ECD72C55B6A0ECE2330AB17619ACC55E5D437992__Extensions
100%
HomeInventory.Application.Cqrs.Commands.Register.RegisterCommandHandler 100% 100%
HomeInventory.Application.Cqrs.DomainEvents.UserCreatedDomainEventHandler 0%
HomeInventory.Application.Cqrs.Queries.UserId.UserIdQueryHandler 100%
HomeInventory.Application.UserManagement.ApplicationUserManagementMediatrMo
dule
100%
HomeInventory.Application.UserManagement.Interfaces -
Name Line Branch
HomeInventory.Application.UserManagement.Interfaces **** ****
HomeInventory.Contracts.UserManagement.Validators - 100%
Name Line Branch
HomeInventory.Contracts.UserManagement.Validators 100% 91.6%
HomeInventory.Contracts.UserManagement.Validators.ContractsUserManagementVa
lidatorsModule
100%
HomeInventory.Contracts.UserManagement.Validators.PasswordCharacterSet 100%
HomeInventory.Contracts.UserManagement.Validators.PasswordCharacterSets 100%
HomeInventory.Contracts.UserManagement.Validators.PasswordValidator`1 100% 100%
HomeInventory.Contracts.UserManagement.Validators.PasswordValidatorOptions 100% 100%
HomeInventory.Contracts.UserManagement.Validators.RegisterRequestValidator 100%
HomeInventory.Contracts.UserManagement.Validators.RuleBuilderExtensions 100% 50%
HomeInventory.Contracts.Validations - 100%
Name Line Branch
HomeInventory.Contracts.Validations 100% ****
HomeInventory.Contracts.Validations.ContractsValidationsModule 100%
HomeInventory.Contracts.Validations.LoginRequestValidator 100%
HomeInventory.Core - 89%
Name Line Branch
HomeInventory.Core 89% 81.6%
HomeInventory.Core.AnonymousAsyncDisposable 100% 100%
HomeInventory.Core.CollectionExtensions 60% 75%
HomeInventory.Core.DictionaryExtensions 100% 100%
HomeInventory.Core.DisposableExtensions 88.8% 50%
HomeInventory.Core.EnumerableExtensions 57.1% 60%
HomeInventory.Core.Execute 100%
HomeInventory.Core.Functional 100% 100%
HomeInventory.Core.LazyExtensions 100% 100%
HomeInventory.Core.OptionExtensions 85.7% 75%
HomeInventory.Core.Scope`1 100% 100%
HomeInventory.Core.ScopeAccessor 100%
HomeInventory.Core.ScopeAccessorExtensions 100% 100%
HomeInventory.Core.ScopeContainer 100%
HomeInventory.Core.ScopeFactory 100%
HomeInventory.Core.TypeExtensions 100% 100%
HomeInventory.Core.ValidationError 100%
HomeInventory.Core.ValidationException 100%
HomeInventory.Core.ValidationExtensions 71.4% 75%
HomeInventory.Domain - 91.6%
Name Line Branch
HomeInventory.Domain 91.6% 88.2%
HomeInventory.Domain.DomainModule 100%
HomeInventory.Domain.Entities.Material 0%
HomeInventory.Domain.Entities.Product 0%
HomeInventory.Domain.Errors.DuplicateProductError 0%
HomeInventory.Domain.Errors.InvalidCredentialsError 100%
HomeInventory.Domain.Events.ProductAddedEvent 0%
HomeInventory.Domain.Events.ProductRemovedEvent 0%
HomeInventory.Domain.FixedTimeProvider 100%
HomeInventory.Domain.ValueObjects 95.6% 88.8%
HomeInventory.Domain.ValueObjects.Amount 100%
HomeInventory.Domain.ValueObjects.AmountFactory 100% 87.5%
HomeInventory.Domain.ValueObjects.AmountUnit 100%
HomeInventory.Domain.ValueObjects.MaterialId 0%
HomeInventory.Domain.ValueObjects.MeasurementType 90.9%
HomeInventory.Domain.ValueObjects.ProductId 100%
HomeInventory.Domain.Primitives - 84.9%
Name Line Branch
HomeInventory.Domain.Primitives 84.9% 75%
HomeInventory.Domain.Primitives.AggregateRoot`2 60%
HomeInventory.Domain.Primitives.BaseEnumeration`1 87.5%
HomeInventory.Domain.Primitives.BaseEnumeration`2 100%
HomeInventory.Domain.Primitives.BuilderObjectConverter`3 100%
HomeInventory.Domain.Primitives.DomainEvent 100%
HomeInventory.Domain.Primitives.Entity`2 100%
HomeInventory.Domain.Primitives.EnumerationItemsCollection 100%
HomeInventory.Domain.Primitives.EnumerationItemsCollection`1 87.5% 100%
HomeInventory.Domain.Primitives.Equatable`1 100% 83.3%
HomeInventory.Domain.Primitives.EquatableComponent`1 70% 50%
HomeInventory.Domain.Primitives.Errors.ConflictError 100%
HomeInventory.Domain.Primitives.Errors.NotFoundError 100%
HomeInventory.Domain.Primitives.Errors.ValueNotSpecifiedError 0%
HomeInventory.Domain.Primitives.EventsCollection 60%
HomeInventory.Domain.Primitives.Ids.BuildableIdentifierObject`3 100%
HomeInventory.Domain.Primitives.Ids.DelegatingIdSupplier`1 100%
HomeInventory.Domain.Primitives.Ids.IdentifierObject`2 66.6%
HomeInventory.Domain.Primitives.Ids.IdentifierObjectBuilder`3 100% 100%
HomeInventory.Domain.Primitives.Ids.IdSuppliers 100%
HomeInventory.Domain.Primitives.Ids.UlidIdentifierObject`1 100%
HomeInventory.Domain.Primitives.Ids.UlidIdentifierObjectBuilder`1 100%
HomeInventory.Domain.Primitives.ObjectConverter`2 100%
HomeInventory.Domain.Primitives.ValueObject`1 100%
HomeInventory.Domain.Primitives.ValueObjectBuilder`3 70% 66.6%
HomeInventory.Domain.UserManagement - 100%
Name Line Branch
HomeInventory.Domain.UserManagement 100% ****
HomeInventory.Domain.Aggregates.User 100%
HomeInventory.Domain.Errors.DuplicateEmailError 100%
HomeInventory.Domain.Events.UserCreatedDomainEvent 100%
HomeInventory.Domain.ValueObjects.Email 100%
HomeInventory.Domain.ValueObjects.UserId 100%
HomeInventory.Infrastructure - 88%
Name Line Branch
HomeInventory.Infrastructure 88% 77.2%
HomeInventory.Infrastructure.InfrastructureMappingModule 100%
HomeInventory.Infrastructure.Persistence.DatabaseContext 100% 100%
HomeInventory.Infrastructure.Persistence.Mapping.AmountObjectConverter 100%
HomeInventory.Infrastructure.Persistence.Mapping.ModelMappings 100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.OutboxDataba
seConfigurationApplier
100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.OutboxMessag
eConfiguration
84.6% 0%
HomeInventory.Infrastructure.Persistence.Models.Configurations.PolymorphicD
omainEventTypeResolver
100% 100%
HomeInventory.Infrastructure.Persistence.Models.Interceptors.PublishDomainE
ventsInterceptor
100% 100%
HomeInventory.Infrastructure.Services.EventsPersistenceService 100%
HomeInventory.Infrastructure.Services.PersistenceHealthCheck 69.2% 62.5%
Microsoft.Extensions.DependencyInjection.InfrastructureDatabaseModule 71.4%
Microsoft.Extensions.DependencyInjection.InfrastructurePersistenceHealthChe
ckModule
100%
Microsoft.Extensions.DependencyInjection.InfrastructureSpecificationModule 100%
HomeInventory.Infrastructure.Framework - 83%
Name Line Branch
HomeInventory.Infrastructure.Framework 83% 39.2%
HomeInventory.Infrastructure.Framework.Mapping.MappingExtensions 100% 7.1%
HomeInventory.Infrastructure.Persistence.BaseDatabaseConfigurationApplier`2 50% 0%
HomeInventory.Infrastructure.Persistence.Models.Configurations.EntityTypeBu
ilderExtensions
100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.IdValueConve
rter`2
100%
HomeInventory.Infrastructure.Persistence.Repository`3 82.3% 75%
HomeInventory.Infrastructure.Specifications.ByIdFilterSpecification`2 100%
Microsoft.Extensions.DependencyInjection.InfrastructureFrameworkServiceColl
ectionExtensions
75% 100%
HomeInventory.Infrastructure.UserManagement - 93%
Name Line Branch
HomeInventory.Infrastructure.UserManagement 93% 50%
HomeInventory.Infrastructure.Persistence.Models.Configurations.UserModelCon
figuration
100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.UserModelDat
abaseConfigurationApplier
100%
HomeInventory.Infrastructure.Persistence.UserRepository 100%
HomeInventory.Infrastructure.Services.BCryptPasswordHasher 100%
HomeInventory.Infrastructure.Specifications.UserHasEmailSpecification 57.1%
HomeInventory.Infrastructure.UserManagement.Mapping.UserManagementModelMapp
ings
100%
HomeInventory.Infrastructure.UserManagement.Models.Configurations.DomainEve
ntJsonTypeInfo
100% 50%
Microsoft.Extensions.DependencyInjection.InfrastructureUserManagementDataba
seModule
100%
Microsoft.Extensions.DependencyInjection.InfrastructureUserManagementMappin
gModule
100%
Microsoft.Extensions.DependencyInjection.InfrastructureUserManagementModule 100%
HomeInventory.Modules - 71.4%
Name Line Branch
HomeInventory.Modules 71.4% 66.6%
HomeInventory.Modules.ModulesCollection 71.4% 66.6%
HomeInventory.Modules.Interfaces - 80%
Name Line Branch
HomeInventory.Modules.Interfaces 80% ****
HomeInventory.Modules.Interfaces.BaseAttachableModule 100%
HomeInventory.Modules.Interfaces.BaseModule 50%
HomeInventory.Tests.Framework - 80.1%
Name Line Branch
HomeInventory.Tests.Framework 80.1% 61.2%
HomeInventory.Tests.Framework.Assertions.AssertionExtensions 66.6%
HomeInventory.Tests.Framework.Assertions.JsonElementAssertions 48.5% 100%
HomeInventory.Tests.Framework.Assertions.ObjectAssertions`1 100%
HomeInventory.Tests.Framework.Assertions.ObjectExtensions 93.7% 56.2%
HomeInventory.Tests.Framework.Assertions.OkResultAssertions`1 100%
HomeInventory.Tests.Framework.Assertions.QueryResultAssertions`1 70.3% 66.6%
HomeInventory.Tests.Framework.Assertions.RouteEndpointAssertions 100%
HomeInventory.Tests.Framework.Assertions.ServiceCollectionAssertions 60% 33.3%
HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensions 100% 100%
HomeInventory.Tests.Framework.Assertions.UlidAssertions 100%
HomeInventory.Tests.Framework.Assertions.UlidAssertions`1 40.7% 0%
HomeInventory.Tests.Framework.Attributes.ArchitectureTestAttribute 100%
HomeInventory.Tests.Framework.Attributes.CategoryTraitAttribute 100%
HomeInventory.Tests.Framework.Attributes.CategoryTraitDiscoverer 100% 66.6%
HomeInventory.Tests.Framework.Attributes.ClassDataAttribute`1 100%
HomeInventory.Tests.Framework.Attributes.IntegrationTestAttribute 0%
HomeInventory.Tests.Framework.Attributes.InvariantCultureAttribute 100%
HomeInventory.Tests.Framework.Attributes.SkippedAttribute 0%
HomeInventory.Tests.Framework.Attributes.TestPriorityAttribute 0%
HomeInventory.Tests.Framework.Attributes.UnitTestAttribute 100%
HomeInventory.Tests.Framework.BaseContext 100%
HomeInventory.Tests.Framework.BaseTest 100% 100%
HomeInventory.Tests.Framework.BaseTest`1 100%
HomeInventory.Tests.Framework.CancellationImplementation 75% 100%
HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizatio
n
100%
HomeInventory.Tests.Framework.Customizations.FixtureExtensions 97% 100%
HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomization 100% 100%
HomeInventory.Tests.Framework.DbContextFactory 100% 50%
HomeInventory.Tests.Framework.GivenContext`1 94.1% 83.3%
HomeInventory.Tests.Framework.GivenContext`2 100%
HomeInventory.Tests.Framework.GivenContext`3 100%
HomeInventory.Tests.Framework.IndexedVariable`1 100%
HomeInventory.Tests.Framework.PriorityTestOrderer 100% 83.3%
HomeInventory.Tests.Framework.PropertyValue`1 100%
HomeInventory.Tests.Framework.RandomExtensions 37.5% 30%
HomeInventory.Tests.Framework.ReflectionDbContextFactory 100% 50%
HomeInventory.Tests.Framework.ReflectionMethods 100%
HomeInventory.Tests.Framework.ServiceCollectionExtensions 100%
HomeInventory.Tests.Framework.SubstitutionDbContextFactory 100%
HomeInventory.Tests.Framework.TestingLogger`1 50%
HomeInventory.Tests.Framework.ThenCatchedContext 100%
HomeInventory.Tests.Framework.ThenContext 100%
HomeInventory.Tests.Framework.ThenContext`1 100%
HomeInventory.Tests.Framework.Variable 100%
HomeInventory.Tests.Framework.Variable`1 75%
HomeInventory.Tests.Framework.VariablesCollectionExtensions 83.3% 50%
HomeInventory.Tests.Framework.VariablesContainer 100% 100%
HomeInventory.Tests.Framework.VariableValues`1 87.5% 59%
HomeInventory.Tests.Framework.WhenContext 92.8%
HomeInventory.Web - 73.7%
Name Line Branch
HomeInventory.Web 73.7% 67.8%
HomeInventory.Web.Authentication.GuidJwtIdentityGenerator 100%
HomeInventory.Web.Authentication.JwtTokenGenerator 100%
HomeInventory.Web.Authentication.WebAuthenticationModule 84.6%
HomeInventory.Web.Authorization.Dynamic.DynamicAuthorizationHandler 0% 0%
HomeInventory.Web.Authorization.Dynamic.DynamicAuthorizationServiceCollecti
onExtensions
0%
HomeInventory.Web.Authorization.Dynamic.DynamicPermissionRequirement 0%
HomeInventory.Web.Authorization.Dynamic.DynamicWebAuthorizationModule 61.5%
HomeInventory.Web.Configuration.CorrelationIdContainer 100%
HomeInventory.Web.Configuration.JwtBearerOptionsSetup 100%
HomeInventory.Web.Configuration.JwtOptions 100% 100%
HomeInventory.Web.Configuration.Validation.JwtOptionsValidator 0%
HomeInventory.Web.ErrorHandling.ErrorMapping 100% 100%
HomeInventory.Web.ErrorHandling.ErrorMappingBuilder 100%
HomeInventory.Web.ErrorHandling.HomeInventoryProblemDetailsFactory 100% 88.8%
HomeInventory.Web.ErrorHandling.ProblemDetailsExtensions 92.8% 79.1%
HomeInventory.Web.ErrorHandling.WebErrorHandling 61.5% 0%
HomeInventory.Web.Mapping.ContractsMappings 100%
HomeInventory.Web.Mapping.WebMappingModule 71.4%
HomeInventory.Web.Middleware.CorrelationIdMiddleware 100% 100%
HomeInventory.Web.Middleware.HeaderNames 100%
HomeInventory.Web.Modules.AuthenticationModule 100%
HomeInventory.Web.Modules.PermissionModule 0%
HomeInventory.Web.OpenApi.ConfigureSwaggerOptions 72.9% 31.2%
HomeInventory.Web.OpenApi.DeprecatedSwaggerOperationFilter 100%
HomeInventory.Web.OpenApi.JsonOpenApiValueConverter 100% 100%
HomeInventory.Web.OpenApi.ParametersSwaggerOperationFilter 100% 100%
HomeInventory.Web.OpenApi.ResponsesSwaggerOperationFilter 100% 100%
HomeInventory.Web.OpenApi.SwaggerDefaultValues 100% 100%
HomeInventory.Web.OpenApi.WebSwaggerModule 56% 0%
HomeInventory.Web.WebCarterSupportModule 80%
HomeInventory.Web.WebHealthCheckModule 22.7%
HomeInventory.Web.Framework - 65.4%
Name Line Branch
HomeInventory.Web.Framework 65.4% 31.2%
HomeInventory.Web.Framework.ApiCarterModule 92.3%
HomeInventory.Web.Framework.BaseModuleWithCarter 100% 83.3%
HomeInventory.Web.Framework.EndpointRouteBuilderExtensions 100%
HomeInventory.Web.Framework.FluentOptionsValidator 0%
HomeInventory.Web.Framework.FluentOptionsValidator`1 0% 0%
HomeInventory.Web.Framework.Infrastructure.ProblemDetailsFactoryExtensions 76.9%
HomeInventory.Web.Framework.MappingExtensions 100% 12.5%
HomeInventory.Web.Framework.RouteHandlerBuilderExtensions 72.7%
HomeInventory.Web.Framework.SectionPath 85.7%
HomeInventory.Web.Framework.ValidationContextFactory`1 50% 100%
HomeInventory.Web.Framework.ValidationEndpointFilter`1 13.3% 0%
HomeInventory.Web.Framework.WebFrameworkServiceCollectionExtensions 100%
HomeInventory.Web.UserManagement - 100%
Name Line Branch
HomeInventory.Web.UserManagement 100% ****
HomeInventory.Web.UserManagement.UserManagementCarterModule 100%
HomeInventory.Web.UserManagement.UserManagementContractsMappings 100%
HomeInventory.Web.UserManagement.WebUerManagementMappingModule 100%
HomeInventory.Web.UserManagement.WebUserManagementModule 100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Modules SDK
1 participant