Skip to content

Migrating to NUnit #342

@Roemer

Description

@Roemer

Hi
Currently the project uses XUnit. Fair enough but I think it makes it more complex than it needs to be for this project. Especially when using the TestExplorer you cannot jup directly to a test, you only jump to the base "Fact". I know this is only the current implementation but to change this, all the unittest bases need to be rewritten and why not migrate to NUnit to make it easier in general?
There's also another issue with XUnit, I very often run into the problem with unloading appdomains:

System.CannotUnloadAppDomainException: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)
   at System.AppDomain.Unload(AppDomain domain)
   at Xunit.ExecutorWrapper.Dispose()
   at Xunit.MultiAssemblyTestEnvironment.Unload(TestAssembly assembly)
   at Xunit.ConsoleClient.Program.RunProject(XunitProject project, Boolean teamcity, Boolean appveyor, Boolean silent)
   at Xunit.ConsoleClient.Program.Main(String[] args)

I'm currently unsure how to fix this (as far as I know, White does not keep any Threads open, which is usually the case for this).

So what's your oppinion on this? Is a migration to NUnit an option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions