File tree 5 files changed +19
-12
lines changed
5 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFramework >net6.0;net7.0;net8.0</TargetFramework >
5
5
<Nullable >enable</Nullable >
6
-
6
+ < OutputType >Exe</ OutputType >
7
7
<IsPackable >false</IsPackable >
8
8
9
9
<RootNamespace >AppInspector.CLI.Tests</RootNamespace >
10
10
</PropertyGroup >
11
11
12
12
<ItemGroup >
13
- <PackageReference Include =" Microsoft.NET.Test.Sdk " Version =" 17.2.0 " />
14
- <PackageReference Include =" MSTest.TestAdapter " Version =" 2.2.10 " />
15
- <PackageReference Include =" MSTest.TestFramework " Version =" 2.2.10 " />
13
+ <PackageReference Include =" Microsoft.Testing.Extensions.CodeCoverage " Version =" 17.13.1 " />
14
+ <PackageReference Include =" Microsoft.Testing.Extensions.TrxReport " Version =" 1.5.3 " />
15
+ <PackageReference Include =" MSTest" Version =" 3.7.3 " />
16
16
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.1" />
17
17
</ItemGroup >
18
18
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <OutputType >Library </OutputType >
4
+ <OutputType >Exe </OutputType >
5
5
<Nullable >enable</Nullable >
6
6
<LangVersion >10.0</LangVersion >
7
7
<TargetFrameworks >net8.0;net9.0</TargetFrameworks >
151
151
152
152
<ItemGroup >
153
153
<PackageReference Include =" Microsoft.Extensions.Logging" Version =" 9.0.4" />
154
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.13.0" />
155
- <PackageReference Include =" MSTest.TestAdapter" Version =" 3.8.3" />
156
- <PackageReference Include =" MSTest.TestFramework" Version =" 3.8.3" />
157
- <PackageReference Include =" Serilog.Extensions.Logging" Version =" 9.0.1" />
154
+ <PackageReference Include =" Microsoft.Testing.Extensions.CodeCoverage" Version =" 17.13.1" />
155
+ <PackageReference Include =" Microsoft.Testing.Extensions.TrxReport" Version =" 1.5.3" />
156
+ <PackageReference Include =" MSTest" Version =" 3.7.3" />
158
157
<PackageReference Include =" System.Reflection" Version =" 4.3.0" />
159
158
<PackageReference Include =" System.Runtime.Extensions" Version =" 4.3.1" />
160
-
161
159
</ItemGroup >
162
160
163
161
<ItemGroup >
Original file line number Diff line number Diff line change 6
6
<PrivateAssets >all</PrivateAssets >
7
7
</PackageReference >
8
8
</ItemGroup >
9
+
10
+ <!-- MSTest config -->
11
+ <PropertyGroup >
12
+ <EnableMSTestRunner >true</EnableMSTestRunner >
13
+ <TestingPlatformDotnetTestSupport >true</TestingPlatformDotnetTestSupport >
14
+ <MSTestAnalysisMode >Recommended</MSTestAnalysisMode >
15
+ </PropertyGroup >
9
16
</Project >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ resources:
10
10
- repository : templates
11
11
type : git
12
12
name : SecurityEngineering/OSS-Tools-Pipeline-Templates
13
- ref : refs/tags/v2.0.0
13
+ ref : refs/tags/v2.0.1
14
14
- repository : 1esPipelines
15
15
type : git
16
16
name : 1ESPipelineTemplates/1ESPipelineTemplates
@@ -43,6 +43,7 @@ extends:
43
43
poolImage : MSSecurity-1ES-Windows-2022
44
44
poolOs : windows
45
45
projectPath : ' AppInspector.Tests/AppInspector.Tests.csproj'
46
+ dotnetTestArgs : ' -- --coverage --report-trx'
46
47
47
48
- stage : Build
48
49
dependsOn :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ resources:
7
7
- repository : templates
8
8
type : git
9
9
name : Data/OSS-Tools-Pipeline-Templates
10
- ref : refs/tags/v2.0.0
10
+ ref : refs/tags/v2.0.1
11
11
- repository : 1esPipelines
12
12
type : git
13
13
name : 1ESPipelineTemplates/1ESPipelineTemplates
@@ -44,6 +44,7 @@ extends:
44
44
poolImage : MSSecurity-1ES-Windows-2022
45
45
poolOs : windows
46
46
projectPath : ' AppInspector.Tests/AppInspector.Tests.csproj'
47
+ dotnetTestArgs : ' -- --coverage --report-trx'
47
48
- stage : Build
48
49
dependsOn :
49
50
- Test
You can’t perform that action at this time.
0 commit comments