Skip to content

Conversation

@jithu7432
Copy link
Contributor

Reopening #1071 since, MediatR is active again.

Dependency Injection tests for various providers like:

  • Microsoft.Extensions.DependencyInjection
  • AutoFac
  • DryIoC

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

If this looks good, then I can:

  • Add the remaining providers in the samples/.
  • Add tests for Generic implementations.
  • Add tests for pipelines, and behaviours.

@CLAassistant
Copy link

CLAassistant commented Aug 16, 2025

CLA assistant check
All committers have signed the CLA.

@jbogard
Copy link
Collaborator

jbogard commented Aug 18, 2025

Test failures :(

- Added IServiceProvider compatible container for DryIoc
@jithu7432
Copy link
Contributor Author

Fixed em :)

@jbogard
Copy link
Collaborator

jbogard commented Sep 5, 2025

Looks good! I think some people will still complain that there's no tests with barebones containers without MS DI. But I'm not going to learn the 12 different containers, people can edit the wiki.

This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants