Quando configuro o TemaCity para rodar um teste do NUnit ele sempre da um erro referente a InteropVclTec.dll, tanto na inicialização como na execução de cada teste.
Alguém já conseguiu configurar a automatização desse tipo de teste no TeamCity.
Segue o log do build do TC.
[15:14:04]Step 4/4: Execução dos Testes Automatizados (NUnit) (6s)
[15:14:04]##teamcity[buildStatisticValue key='buildStageDuration:buildStepRUNNER_67' value='0.0']
[15:14:04]Starting: C:\BA4\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe #TeamCityImplicit
[15:14:04]in directory: C:\BA4\work\45e5f7973505ecdf
[15:14:09]2015-11-02 15:14:09,711 [4116] ERROR JetBrains.TeamCity.NUnitLauncher.ErrorLoggerImpl - Unhandled exception in remote appdomain: Benner.Tecnologia.Common.Exceptions.ObjectCreationException: NÆo foi poss¡vel carregar a dll C:\BA4\work\45e5f7973505ecdf\DLLS\InteropVclTec.dll. Motivo: The specified module could not be found (126).
[15:14:09] at Benner.Tecnologia.Interop.DelphiActivator.CreateInstance(String libraryName, String interfaceName)
[15:14:09] at Benner.Tecnologia.Interop.BennerSystemProxy.get_InternalProxy()
[15:14:09] at Benner.Tecnologia.Application.TransactionContextService.get_InDatabaseTransaction()
[15:14:09] at Benner.Tecnologia.Application.TransactionContextService.Leave(ITransactionContext transactionContext)
[15:14:09] at Benner.Tecnologia.Business.TransactionContext.Finalize()
[15:14:08]Start TeamCity NUnit Test Runner
[15:14:08]Running NUnit-2.6.2 tests under .NET Framework v4.0 x86
[15:14:08]TeamCity Test Reordering. Phase 1: Running selected tests.
[15:14:09]Benner.Saude.Adm.Usuario.BIT.dll
[15:14:09]Benner.Saude.Adm.Usuario.BIT.FuncoesTest.AlteracaoUsuarioTest.Deve_alterar_a_senha_do_usuario
[15:14:09]Test(s) failed. Benner.Tecnologia.Common.Exceptions.ObjectCreationException : Não foi possível carregar a dll C:\BA4\work\45e5f7973505ecdf\DLLS\InteropVclTec.dll. Motivo: The specified module could not be found (126).
[15:14:09]Test(s) failed. Benner.Tecnologia.Common.Exceptions.ObjectCreationException : Não foi possível carregar a dll C:\BA4\work\45e5f7973505ecdf\DLLS\InteropVclTec.dll. Motivo: The specified module could not be found (126). at Benner.Tecnologia.Interop.DelphiActivator.CreateInstance(String libraryName, String interfaceName) at Benner.Tecnologia.Interop.BennerSystemProxy.get_InternalProxy() at Benner.Tecnologia.Application.TransactionContextService.get_InDatabaseTransaction() at Benner.Tecnologia.Application.TransactionContextService.EnterTransactionalContext(ITransactionContext transactionContext, TransactionContextOption transactionContextOption) at Benner.Saude.Adm.Usuario.BIT.FuncoesTest.AlteracaoUsuarioTest.Deve_alterar_a_senha_do_usuario() in c:\BA4\work\45e5f7973505ecdf\BusinessComponent\Benner.Saude.Adm.Usuario.BIT\FuncoesTest\AlteracaoUsuarioTest.cs:line 75