When running the supplied samples with xUnit, I (almost always) get this:
System.CannotUnloadAppDomainException: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)
at System.AppDomain.Unload(AppDomain domain)
at Xunit.ConsoleClient.Program.Main(String args)
This happens *after* xUnit reports the test results (correctly), and I've narrowed it down to just the "VerifyInput" test function.
I've tried using the supplied xunit 1.1 as well as xunit 1.5 ctp2 and get the same exception.
It could be an xunit bug, but my instinct says it's a TestAPI problem.
Is it possible that somehow the AutomatedApplication object isn't fully cleaning up after itself? See, for example,
Thanks for any suggestions.