I believe so, yes. Steve Bohlen [email protected] http://blog.unhandled-exceptions.com http://twitter.com/sbohlen
On Sun, Nov 20, 2011 at 6:15 AM, Oskar Berggren <[email protected]>wrote: > The base class TestCase has the following code: > private void Configure() > { > cfg = > TestConfigurationHelper.GetDefaultConfiguration(); > > AddMappings(cfg); > > Configure(cfg); > > ApplyCacheSettings(cfg); > } > > I.e. the overridable Configure(Configuration) is called after > AddMappings(). This is in the opposite order compared to how > Configuration.Configure() itself does it - there it's properties first > and mappings second. > > The order used in TestCase.Configure() prevents a subclass from > overriding Configure() in order to set properties that affect the > mapping procedure. This can be done by overriding AddMappings() > instead, but still, should the order be changed? No tests fail when I > try it. > > > /Oskar >
