NUnit failed to load in TFS build

前端 未结 2 1972
盖世英雄少女心
盖世英雄少女心 2021-01-21 11:06

I’m having a \"build partially succeeded\" issue with this error “NUnit failed to load e:\\Builds\\184\\CSTax\\706USServices_Test\\bin\\Calc.Tests.dll”, but all of the unit test

2条回答
  •  梦谈多话
    2021-01-21 11:49

    You need to:

    1. Download the NUnit test adapter: https://visualstudiogallery.msdn.microsoft.com/6ab922d0-21c0-4f06-ab5f-4ecd1fe7175d . Rename the NUnitVisualStudioTestAdapter-2.0.0.vsix to NUnitVisualStudioTestAdapter-2.0.0.zip. Unzip NUnitVisualStudioTestAdapter-2.0.0.zip.
    2. Check in the following dlls: nunit.core.dll, nunit.core.interfaces.dll, nunit.util.dll and NUnit.VisualStudio.TestAdapter.dll into a folder in TFS Version Control.
    3. Specify the build controller's path to custom assemblies:
    4. Then queue a build, the NUnit test methods will be run.

    Also have a check on the Enable a third-party unit framework part of this MSDN article for the details: https://msdn.microsoft.com/en-us/library/vstudio/ms253138.aspx

提交回复
热议问题