File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 125125 such as [ConditionalClass]/[ConditionalAssembly] add `category=failing` to tests whose
126126 condition evaluates to false; this filter is what actually skips them at the runner.
127127
128+ The 'report-trx' argument is required so each Helix work item produces a TRX file that Arcade's
129+ Helix reporter uploads to Azure DevOps. The generic MTPProject work-item command only passes
130+ 'results-directory', and the Microsoft.Testing.Extensions.TrxReport extension is not
131+ auto-activated, so without this no per-test results would be reported (only work-item-level
132+ pass/fail).
133+
128134 This must run AFTER any per-queue ItemGroup that re-Includes MTPProject items.
129135 -->
130136 <ItemGroup >
131137 <MTPProject Update =" @(MTPProject)" >
132- <Arguments >$(XUnitV3Arguments) --filter-not-trait category=failing --ignore-exit-code 8</Arguments >
138+ <Arguments >--report-trx --filter-not-trait category=failing --ignore-exit-code 8</Arguments >
133139 </MTPProject >
134140 </ItemGroup >
135141
136142 <PropertyGroup >
137- <XUnitWorkItemTimeout Condition = " '$(XUnitWorkItemTimeout )' == ''" >03:00:00</XUnitWorkItemTimeout >
143+ <MTPWorkItemTimeout Condition = " '$(MTPWorkItemTimeout )' == ''" >03:00:00</MTPWorkItemTimeout >
138144 </PropertyGroup >
139145</Project >
You can’t perform that action at this time.
0 commit comments