私はTFSにインポートされたばかりのJavaプロジェクトを持っていますが、単体テストの結果を出力するためにTFSを取得しようとしています。 TFSBuild.projファイルの終わりにTFSがAnt/JUnitビルドから単体テスト結果を見つけることができません
私は、次があります。
<ItemGroup>
<!-- Ant Call Configuration.
The build file called should be included in the workspace of the build definition.
-->
<AntBuildFile Include="$/PROJECT_NAME/Main/tfsbuild.xml">
<Targets>build,test</Targets>
<Properties>BinariesRoot=$(BinariesRoot);BuildDefinitionName=$(BuildDefinitionName);BuildDefinitionUri=$(BuildDefinitionUri);BuildDirectory=$(BuildDirectory);BuildNumber=$(BuildNumber);DropLocation=$(DropLocation);LogLocation=$(LogLocation);SourceGetVersion=$(SourceGetVersion);TestResultsRoot=$(TestResultsRoot);TeamProject=$(TeamProject);WorkspaceName=$(WorkspaceName);WorkspaceOwner=$(WorkspaceOwner)</Properties>
<Lib></Lib>
</AntBuildFile>
<!-- JUnit XML Results files should be created using the XML formatter
and be located in the following path
-->
<JUnitLogFiles Include="$(BinariesRoot)\**\TEST-*.xml" />
</ItemGroup>
これはビルドをキックオフし、どこJUnitテスト結果を見つけるためにTFSを伝えます。 問題は、テストが実行されたことをログで確認できても、TFSは単体テスト結果を見つけられません。