A recent change broke my tests after upgrading because TUnit now calls all property getters during initialization
|
var value = property.GetValue(obj); |
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?