Cannot setup TeamCity NUnit test runner.
I'm try run nunit tests with Team City, i'm setup new build step. Nunit runner NUnit 2.6.0, Run test from: ***/**.Tests.dll. After run test i'm get error:
SetUp method failed. SetUp : System.IO.FileNotFoundException : Невозможно загрузить файл или сборку
"TestInfrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" или один из зависимых от них компонентов.
Не удается найти указанный файл.
в BillingProvider.Tests.PaymentsParserTests.ComplexParserEngineTests.Init()
I'm try run test manual from NUnit test runner, all tests PASS. Where problem?
Please sign in to leave a comment.
Hi
Usually such error means your assembly depends on native 32-bit components, but TeamCity starts it in 64-bit environment.
Please try to change .NET Runtime platform option in NUnit step settings.
I'm run teamcity on 32-bit server and cannot change platform to 64-bit.