jbogard / MediatR

Simple, unambitious mediator implementation in .NET
Apache License 2.0
11.19k stars 1.18k forks source link

Dependency Injection tests for various providers #1071

Closed jithu7432 closed 2 weeks ago

jithu7432 commented 2 months ago

Dependency Injection tests for various providers like:

Used xUnit.net fixtures to abstract away the IServiceProvider, and tests are also abstracted.

If this looks good, then I can:

jithu7432 commented 2 months ago
Status Test Time
Passed AutoFacDependencyInjectionTests.Should_Resolve_Internal_RequestHandler [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Internal_Stream_Request_Handlers [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Internal_Void_RequestHandler [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Mediator [1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Private_RequestHandler [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Private_Stream_Request_Handlers [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Private_Void_RequestHandler [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Public_Private_Internal_Notification_Handlers [2 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Public_RequestHandler [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Public_Stream_Request_Handlers [< 1 ms]
Passed AutoFacDependencyInjectionTests.Should_Resolve_Public_Void_RequestHandler [29 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Internal_RequestHandler [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Internal_Stream_Request_Handlers [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Internal_Void_RequestHandler [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Mediator [1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Private_RequestHandler [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Private_Stream_Request_Handlers [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Private_Void_RequestHandler [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Public_Private_Internal_Notification_Handlers [8 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Public_RequestHandler [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Public_Stream_Request_Handlers [< 1 ms]
Passed DryIocDependencyInjectionTests.Should_Resolve_Public_Void_RequestHandler [20 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Internal_RequestHandler [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Internal_Stream_Request_Handlers [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Internal_Void_RequestHandler [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Mediator [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Private_RequestHandler [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Private_Stream_Request_Handlers [13 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Private_Void_RequestHandler [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Public_Private_Internal_Notification_Handlers [3 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Public_RequestHandler [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Public_Stream_Request_Handlers [< 1 ms]
Passed MicrosoftDependencyInjectionTests.Should_Resolve_Public_Void_RequestHandler [< 1 ms]
jithu7432 commented 2 months ago

Waiting for #1072

github-actions[bot] commented 1 month ago

This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] commented 2 weeks ago

This PR was closed because it has been stalled for 14 days with no activity.