I have five test projects in my Visual Studio solution. When I try to run them with Axocover+NUnit it always runs up to the fourth and returns an error preventing the last one from running.
I have tried to execute them only with the Nunit console runner and it continues with the execution of the last test project although it returns an error. I think it is due to a change in Nunit bugs handling =>https://github.com/nunit/nunit-console/issues/371
This is the returned error by axocover:
SerializableException: Error al descargar AppDomain. (Excepci¢n de HRESULT: 0x80131015)
en System.AppDomain.nUnload(Int32 domainInternal)
en System.AppDomain.Unload(AppDomain domain)
SerializableException: Error al descargar AppDomain. (Excepci¢n de HRESULT: 0x80131015)
en System.AppDomain.Unload(AppDomain domain)
SerializableException: Exception encountered unloading AppDomain
en NUnit.Engine.Services.DomainManager.DomainUnloader.Unload()
SerializableException: Error al descargar AppDomain. (Excepci¢n de HRESULT: 0x80131015)
en System.AppDomain.Unload(AppDomain domain)
en NUnit.Engine.Services.DomainManager.DomainUnloader.UnloadOnThread()
| File redirection rules are cleared.
< Could not execute tests.
< SerializableException: Exception encountered unloading AppDomain
< en NUnit.Engine.Services.DomainManager.DomainUnloader.Unload()
< en NUnit.Engine.Runners.TestDomainRunner.UnloadPackage()
< en NUnit.Engine.Runners.AbstractTestRunner.Dispose(Boolean disposing)
< en NUnit.Engine.Runners.AbstractTestRunner.Dispose()
< en NUnit.Engine.Runners.MasterTestRunner.Dispose(Boolean disposing)
< en NUnit.Engine.Runners.MasterTestRunner.Dispose()
< en NUnit.VisualStudio.TestAdapter.NUnit3TestExecutor.RunAssembly(String assemblyName, TestFilter filter)
< en NUnit.VisualStudio.TestAdapter.NUnit3TestExecutor.RunTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle)
< en AxoCover.Runner.TestExecutionService.<>c__DisplayClass6_0.<RunTestsWorker>b__0() en C:\projects\axotools\AxoCover.Runner\TestExecutionService.cs:línea 119
< en AxoCover.Runner.NativeServices.ExecuteWithFileRedirectionInternal(TestAdapterOptions adapterOptions, Action action, Action`2 log) en C:\projects\axotools\AxoCover.Runner\NativeServices.cs:línea 88
< en AxoCover.Runner.NativeServices.ExecuteCall(Action action, Action`2 log) en C:\projects\axotools\AxoCover.Runner\NativeServices.cs:línea 45
< en AxoCover.Runner.NativeServices.ExecuteWithFileRedirection(TestAdapterOptions adapterOptions, Action action, Action`2 log) en C:\projects\axotools\AxoCover.Runner\NativeServices.cs:línea 18
< en AxoCover.Runner.TestExecutionService.RunTestsWorker(TestExecutionTask[] executionTasks, TestExecutionOptions options) en C:\projects\axotools\AxoCover.Runner\TestExecutionService.cs:línea 114
<
< SerializableException: Error al descargar AppDomain. (Excepción de HRESULT: 0x80131015)
< en System.AppDomain.Unload(AppDomain domain)
< en NUnit.Engine.Services.DomainManager.DomainUnloader.UnloadOnThread()
Shutting down...
I have five test projects in my Visual Studio solution. When I try to run them with Axocover+NUnit it always runs up to the fourth and returns an error preventing the last one from running.
I have tried to execute them only with the Nunit console runner and it continues with the execution of the last test project although it returns an error. I think it is due to a change in Nunit bugs handling =>https://github.com/nunit/nunit-console/issues/371
This is the returned error by axocover:
Could you help me, please?
Thank you