Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all test are run #216

Open
pemola opened this issue Apr 20, 2020 · 0 comments
Open

Not all test are run #216

pemola opened this issue Apr 20, 2020 · 0 comments

Comments

@pemola
Copy link

pemola commented Apr 20, 2020

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 =>nunit/nunit-console#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...

Could you help me, please?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant