- Created `StellaOps.TestKit.Tests` project for unit tests related to determinism. - Implemented `DeterminismManifestTests` to validate deterministic output for canonical bytes and strings, file read/write operations, and error handling for invalid schema versions. - Added `SbomDeterminismTests` to ensure identical inputs produce consistent SBOMs across SPDX 3.0.1 and CycloneDX 1.6/1.7 formats, including parallel execution tests. - Updated project references in `StellaOps.Integration.Determinism` to include the new determinism testing library.
27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>preview</LangVersion>
|
|
<IsPackable>true</IsPackable>
|
|
<Description>Testing infrastructure and utilities for StellaOps</Description>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="xunit" Version="2.9.2" />
|
|
<PackageReference Include="FluentAssertions" Version="6.12.0" />
|
|
<PackageReference Include="FsCheck" Version="2.16.6" />
|
|
<PackageReference Include="FsCheck.Xunit" Version="2.16.6" />
|
|
<PackageReference Include="Testcontainers" Version="3.10.0" />
|
|
<PackageReference Include="Testcontainers.PostgreSql" Version="3.10.0" />
|
|
<PackageReference Include="Npgsql" Version="8.0.5" />
|
|
<PackageReference Include="StackExchange.Redis" Version="2.8.16" />
|
|
<PackageReference Include="OpenTelemetry" Version="1.9.0" />
|
|
<PackageReference Include="OpenTelemetry.Api" Version="1.9.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\StellaOps.Canonical.Json\StellaOps.Canonical.Json.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|