autofac / Autofac

An addictive .NET IoC container
https://autofac.org
MIT License
4.44k stars 836 forks source link

Add additional test for enumerables in load context #1370

Closed alistairjevans closed 1 year ago

alistairjevans commented 1 year ago

Add a test to verify that a parent and loaded scope can create a single enumerable that combines components from both scopes.

Thought this was worth adding, while writing the docs.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: +0.03 :tada:

Comparison is base (3489ad3) 78.49% compared to head (93c02c1) 78.53%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1370 +/- ## =========================================== + Coverage 78.49% 78.53% +0.03% =========================================== Files 199 199 Lines 5715 5715 Branches 1161 1161 =========================================== + Hits 4486 4488 +2 + Misses 716 715 -1 + Partials 513 512 -1 ``` | [Impacted Files](https://codecov.io/gh/autofac/Autofac/pull/1370?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autofac) | Coverage Δ | | |---|---|---| | [src/Autofac/Util/SequenceGenerator.cs](https://codecov.io/gh/autofac/Autofac/pull/1370?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autofac#diff-c3JjL0F1dG9mYWMvVXRpbC9TZXF1ZW5jZUdlbmVyYXRvci5jcw==) | `100.00% <0.00%> (+28.57%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autofac). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autofac)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.