-
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
Hello!
I have CustomWebApplicationFactory and inject it into test class with SharedType.PerClass.
I have a class with pool of testcontainers and it must be SharedType.PerAssembly.
CustomWebApplicationFactory need the pool in InitializeAsync. I've tried to add ClassDataSource into CustomWebApplicationFactory but get compilation error because of requred property in ClassDataSource.
So is there some way to inject something into ClassDataSource class with TUnit? It will be pretty if I can add SharedType.PerAssembly into SharedType.PerClass etc
Metadata
Metadata
Assignees
Labels
No labels