Refactor code structure and optimize performance across multiple modules

This commit is contained in:
StellaOps Bot
2025-12-26 20:03:22 +02:00
parent c786faae84
commit b4fc66feb6
3353 changed files with 88254 additions and 1590657 deletions

View File

@@ -11,6 +11,8 @@ using StellaOps.Scanner.Worker.Orchestration;
using StellaOps.Signals.Storage;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Scanner.Integration.Tests;
/// <summary>
@@ -41,7 +43,8 @@ public class PoEPipelineTests : IDisposable
);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task ScanWithVulnerability_GeneratesPoE_StoresInCas()
{
// Arrange
@@ -98,7 +101,8 @@ public class PoEPipelineTests : IDisposable
Assert.Equal(dsseBytes, artifact.DsseBytes);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task ScanWithUnreachableVuln_DoesNotGeneratePoE()
{
// Arrange
@@ -124,7 +128,8 @@ public class PoEPipelineTests : IDisposable
Assert.Empty(results);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task PoEGeneration_ProducesDeterministicHash()
{
// Arrange
@@ -141,7 +146,8 @@ public class PoEPipelineTests : IDisposable
Assert.StartsWith("blake3:", hash1);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task PoEStorage_PersistsToCas_RetrievesCorrectly()
{
// Arrange