6
Team Build 2010 build process template을 Gallio를 통해 MbUnit 테스트를 실행하려면 어떻게 구성합니까?TFS 2010 Team Build와 함께 Gallio/Mbunit 사용
Team Build 2010 build process template을 Gallio를 통해 MbUnit 테스트를 실행하려면 어떻게 구성합니까?TFS 2010 Team Build와 함께 Gallio/Mbunit 사용
기본값을 기반으로 새 빌드 프로세스 템플리트를 작성하여이 작업을 수행 할 수있었습니다. 그런 다음 섹션으로 스크롤하여 MSTest 활동을 찾은 다음 Gallio.Echo.exe라는 InvokeProcess 활동으로 대체했습니다.
이 테스트는 Gallio ok를 실행하지만 테스트 결과가 빌드 보고서에 통합되지 않습니다.
통합 할 결과를 얻는 것은 'trx'파일을 가져올 수있는 것과 관련이있는 것으로 보입니다. 이 지원은 여기
내가 기존 MSTEST 활동을 대체하는 데 사용되는 XAML 마크 업입니다 ( thread in Gallio-Dev discussion group 참조) 조사되고있다 :이 예에서는<scg:List x:TypeArguments="x:Object" Capacity="1">
<p:Sequence VirtualizedContainerService.HintSize="256,384">
<p:Sequence.Variables>
<p:Variable x:TypeArguments="x:String" Name="GallioEcho" />
</p:Sequence.Variables>
<WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</WorkflowViewStateService.ViewState>
<mtbwa:ConvertWorkspaceItem DisplayName="Convert Echo Server Path to Local Path" VirtualizedContainerService.HintSize="234,22" Input="$/MyProject/trunk/Libs/Gallio/Gallio.Echo.exe" Result="[GallioEcho]" Workspace="[Workspace]" />
<mtbwa:InvokeProcess Arguments="[String.Join(" ", From q In testAssemblies Select """" & q & """")]" DisplayName="Gallio Echo" FileName="[GallioEcho]" VirtualizedContainerService.HintSize="234,198">
<mtbwa:InvokeProcess.ErrorDataReceived>
<p:ActivityAction x:TypeArguments="x:String">
<p:ActivityAction.Argument>
<p:DelegateInArgument x:TypeArguments="x:String" Name="errOutput" />
</p:ActivityAction.Argument>
<mtbwa:WriteBuildError VirtualizedContainerService.HintSize="200,22" Message="[errOutput]" />
</p:ActivityAction>
</mtbwa:InvokeProcess.ErrorDataReceived>
<mtbwa:InvokeProcess.OutputDataReceived>
<p:ActivityAction x:TypeArguments="x:String">
<p:ActivityAction.Argument>
<p:DelegateInArgument x:TypeArguments="x:String" Name="stdOutput" />
</p:ActivityAction.Argument>
<mtbwa:WriteBuildMessage VirtualizedContainerService.HintSize="200,22" Message="[stdOutput]" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces" />
</p:ActivityAction>
</mtbwa:InvokeProcess.OutputDataReceived>
</mtbwa:InvokeProcess>
</p:Sequence>
</scg:List>
을, 나는 가정 그 Gallio.Echo의 사본 .exe 테스트 러너는 소스 제어 트리 내에 있습니다.
자세한 내용은 여기에 추가하십시오. 나는 MbUnit/Gallio를 좋아하지만 MSFT는 엄청난 양의 자원을 가지고 있습니다. –