You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now my custom WebApplicationFactory class app host is built right after being injected (when the Server property is accessed), before I even have a chance to configure it.
I could refactor around this but this seems like an undesirable behavior in the first place. Why not initialize only the properties that have the ClassDataSource attribute?
A recent change broke my tests after upgrading because TUnit now calls all property getters during initialization
TUnit/TUnit.Core/Discovery/ObjectGraphDiscoverer.cs
Line 447 in 9dd636c
Now my custom WebApplicationFactory class app host is built right after being injected (when the
Serverproperty is accessed), before I even have a chance to configure it.I could refactor around this but this seems like an undesirable behavior in the first place. Why not initialize only the properties that have the
ClassDataSourceattribute?