2010-04-09 2 views
3

저는 MBUnit 테스트 슈트를 Team City에서 여러 날 동안 성공 시키려고 노력하고 있습니다.Gallio MBUnit를 팀 도시와 통합 할 수 없습니다.

내 솔루션에는 아무런 문제가 없습니다. 이 프로그램은 내 테스트와 함께합니다. Gallio와 Team City의 통합에 대한 인터넷 검색을 수행 한 후이 작업을 수행 할 수있는 여러 가지 방법을 시도했으며 가까이에 있지만 도움이 필요하다고 생각합니다.

내 저장소와 내 TC 서버에 gallio bin 디렉토리를 포함 시켰습니다. 여기

가 내 빌드 주자가 팀시 설정 :

빌드 러너 : MSBuild를 빌드 파일 경로 : Myproject.msbuild 대상 : RebuildSolution의 RunTests을

다음

내가 만든 포함 Myproject.msbuild 파일입니다 소스 제어 트렁크 디렉토리 :

: 여기

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 
<!-- This is needed by MSBuild to locate the Gallio task --> 
<UsingTask AssemblyFile="C:\Gallio\bin\Gallio.MSBuildTasks.dll" TaskName="Gallio" /> 
<!-- Specify the tests assemblies --> 
<ItemGroup> 
    <TestAssemblies Include="C:\_CBL\CBL\CoderForTraders\Source\trunk\UnitTest\DomainModel.Tests\bin\Debug\CBL.CoderForTraders.DomainModel.Tests.dll" /> 
</ItemGroup> 
<Target Name="RunTests"> 
    <Gallio IgnoreFailures="false" Assemblies="@(TestAssemblies)" RunnerExtensions="TeamCityExtension,Gallio.TeamCityIntegration"> 
    <!-- This tells MSBuild to store the output value of the task's ExitCode property into the project's ExitCode property --> 
    <Output TaskParameter="ExitCode" PropertyName="ExitCode"/> 
    </Gallio> 
    <Error Text="Tests execution failed" Condition="'$(ExitCode)' != 0" /> 
</Target> 
<Target Name="RebuildSolution"> 
    <Message Text="Starting to Build"/> 
    <MSBuild Projects="CoderForTraders.sln" 
      Properties="Configuration=Debug" 
      Targets="Rebuild" /> 
</Target> 
</Project> 

팀 시티에 표시되는 오류입니다

오류 MSB4064 : "Gallio"작업에서 "어셈블리"매개 변수가 지원되지 않습니다. 매개 변수가 작업에 있는지 확인하고 설정 가능한 공용 인스턴스 속성입니다.

오류 MSB4063 : 입력 매개 변수로 "Gallio"작업을 초기화 할 수 없습니다. 당신의 도움이

답변