added junit
Some checks failed
csharp-secdevops-pipeline-pod/pipeline/head There was a failure building this commit

This commit is contained in:
2026-05-05 09:40:43 +02:00
parent 8102197b03
commit 848e51c555
8 changed files with 38 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="JunitXml.TestLogger" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />

View File

@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("MyHelloWorld.Tests")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b1fbc831a70ec3d5f89bfb46b0b491eee005ccc1")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8102197b03a6563eddf51c4271ba610610e08a33")]
[assembly: System.Reflection.AssemblyProductAttribute("MyHelloWorld.Tests")]
[assembly: System.Reflection.AssemblyTitleAttribute("MyHelloWorld.Tests")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
b0371b952b69ca7725ca76cf43e0eda997d067b7996151c49ab875725f973ed0
83683f5ec3f8c06b41aface5b1c6a7736955f6f9de7d85076a1a42c3896199a9

View File

@@ -47,6 +47,10 @@
"net8.0": {
"targetAlias": "net8.0",
"dependencies": {
"JunitXml.TestLogger": {
"target": "Package",
"version": "[8.0.0, )"
},
"Microsoft.NET.Test.Sdk": {
"target": "Package",
"version": "[17.8.0, )"

View File

@@ -18,6 +18,7 @@
<Import Project="$(NuGetPackageRoot)microsoft.testplatform.testhost\17.8.0\build\netcoreapp3.1\Microsoft.TestPlatform.TestHost.props" Condition="Exists('$(NuGetPackageRoot)microsoft.testplatform.testhost\17.8.0\build\netcoreapp3.1\Microsoft.TestPlatform.TestHost.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.codecoverage\17.8.0\build\netstandard2.0\Microsoft.CodeCoverage.props" Condition="Exists('$(NuGetPackageRoot)microsoft.codecoverage\17.8.0\build\netstandard2.0\Microsoft.CodeCoverage.props')" />
<Import Project="$(NuGetPackageRoot)microsoft.net.test.sdk\17.8.0\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.props" Condition="Exists('$(NuGetPackageRoot)microsoft.net.test.sdk\17.8.0\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.props')" />
<Import Project="$(NuGetPackageRoot)junitxml.testlogger\8.0.0\build\netstandard2.0\JUnitXml.TestLogger.props" Condition="Exists('$(NuGetPackageRoot)junitxml.testlogger\8.0.0\build\netstandard2.0\JUnitXml.TestLogger.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Pkgxunit_analyzers Condition=" '$(Pkgxunit_analyzers)' == '' ">C:\Users\HermanH\.nuget\packages\xunit.analyzers\1.4.0</Pkgxunit_analyzers>

View File

@@ -8,6 +8,12 @@
"build/netstandard1.0/coverlet.collector.targets": {}
}
},
"JunitXml.TestLogger/8.0.0": {
"type": "package",
"build": {
"build/netstandard2.0/JUnitXml.TestLogger.props": {}
}
},
"Microsoft.CodeCoverage/17.8.0": {
"type": "package",
"compile": {
@@ -1775,6 +1781,23 @@
"coverlet.collector.nuspec"
]
},
"JunitXml.TestLogger/8.0.0": {
"sha512": "rO2ugKcbVy8SHNKeqfX/DshUcTtolnEUwMKehVB6gh5/YoL+U07zoACCyGRvgMtzq7fr9o6GLkXOmVj9WMgx+w==",
"type": "package",
"path": "junitxml.testlogger/8.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"build/_common/Microsoft.VisualStudio.TestPlatform.Extension.JUnit.Xml.TestLogger.dll",
"build/_common/Spekt.TestLogger.dll",
"build/netstandard2.0/JUnitXml.TestLogger.props",
"docs/CHANGELOG.md",
"docs/README.md",
"junitxml.testlogger.8.0.0.nupkg.sha512",
"junitxml.testlogger.nuspec",
"packageIcon.png"
]
},
"Microsoft.CodeCoverage/17.8.0": {
"sha512": "KC8SXWbGIdoFVdlxKk9WHccm0llm9HypcHMLUUFabRiTS3SO2fQXNZfdiF3qkEdTJhbRrxhdRxjL4jbtwPq4Ew==",
"type": "package",
@@ -5516,6 +5539,7 @@
},
"projectFileDependencyGroups": {
"net8.0": [
"JunitXml.TestLogger >= 8.0.0",
"Microsoft.NET.Test.Sdk >= 17.8.0",
"SecDevOpsLab >= 1.0.0",
"coverlet.collector >= 6.0.0",
@@ -5569,6 +5593,10 @@
"net8.0": {
"targetAlias": "net8.0",
"dependencies": {
"JunitXml.TestLogger": {
"target": "Package",
"version": "[8.0.0, )"
},
"Microsoft.NET.Test.Sdk": {
"target": "Package",
"version": "[17.8.0, )"

View File

@@ -1,10 +1,11 @@
{
"version": 2,
"dgSpecHash": "/pXR0si9+hU=",
"dgSpecHash": "cMCqBPi36D8=",
"success": true,
"projectFilePath": "C:\\Users\\HermanH\\SecDevOpsLab\\MyHelloWorld.Tests\\MyHelloWorld.Tests.csproj",
"expectedPackageFiles": [
"C:\\Users\\HermanH\\.nuget\\packages\\coverlet.collector\\6.0.0\\coverlet.collector.6.0.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\junitxml.testlogger\\8.0.0\\junitxml.testlogger.8.0.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\microsoft.codecoverage\\17.8.0\\microsoft.codecoverage.17.8.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\microsoft.net.test.sdk\\17.8.0\\microsoft.net.test.sdk.17.8.0.nupkg.sha512",
"C:\\Users\\HermanH\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",