[Mono-list] Unit tests load a different configuration file under mono
curylod at asme.org
Mon Aug 12 16:15:19 UTC 2013
This is the exact same problem, yes. So from your last comment on the pull request:
> when running inside a unit test, Mono.Web.Util.SettingsMappingManager.Init() doesn't manage to make the _instance not null, because mapper.HasMappings ends up being false (and this doesn't happen when running inside an ASP.NET site).
Have you had any luck finding why this is? I've found configuration works as you would expect when running inside an ASP.NET site under mono, so I'm really confused as to why things work so differently under a unit test. I'm trying to recreate this in isolation from the unit testing framework itself, but I'm not sure exactly what I should be doing - different AppDomain, shadow copied assemblies, but must be some other part of this scenario.
On Aug 10, 2013, at 4:42 AM, "Andrés G. Aragoneses" <knocte at gmail.com> wrote:
> Wrong URL, I meant this one: https://github.com/mono/mono/pull/643
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list