Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions OAT.Tests/OAT.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net8.0;net48;net9.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>

<RootNamespace>Microsoft.CST.OAT.Tests</RootNamespace>
Expand All @@ -11,7 +11,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MSTest" Version="3.7.2" />
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" Version="17.13.1" />
<PackageReference Include="Microsoft.Testing.Extensions.TrxReport" Version="1.5.3" />
<PackageReference Include="MSTest" Version="3.7.3" />
<PackageReference Include="morelinq" Version="4.4.0" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions Pipelines/oat-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ extends:
poolImage: MSSecurity-1ES-Ubuntu-2204
poolOs: linux
projectPath: 'OAT.Tests/OAT.Tests.csproj'
dotnetTestArgs: '-- --coverage --report-trx'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment, dotnet test is still VSTest oriented so we need to pass the arguments down to MTP. The way to do so is to use -- ARGS


- stage: Build
dependsOn:
Expand Down
1 change: 1 addition & 0 deletions Pipelines/oat-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ extends:
poolImage: MSSecurity-1ES-Ubuntu-2204
poolOs: linux
projectPath: 'OAT.Tests/OAT.Tests.csproj'
dotnetTestArgs: '-- --coverage --report-trx'

- stage: Build
dependsOn:
Expand Down