Allow tests to override DI config for a single test by using a custom annotation #8724
Labels
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone
Sometimes it's necessary to override DI config not just for a whole test case, but for an individual test. In this case,
provideContainerConfig()
can be used, but it gets messy since you have to vary it's behavior based on the running test.We could allow individual tests to override DI w/ a custom test annotation
@provideContainerConfig
, eg:The text was updated successfully, but these errors were encountered: