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

@@ -6,6 +6,7 @@ using StellaOps.Scanner.Reachability;
using StellaOps.Scanner.Reachability.Models;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Scanner.Reachability.Tests;
/// <summary>
@@ -33,7 +34,8 @@ public class SubgraphExtractorTests
);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task ResolveAsync_WithSinglePath_ReturnsCorrectSubgraph()
{
// Arrange
@@ -75,7 +77,8 @@ public class SubgraphExtractorTests
Assert.True(result.Edges.Count > 0);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task ResolveAsync_NoReachablePath_ReturnsNull()
{
// Arrange
@@ -113,7 +116,8 @@ public class SubgraphExtractorTests
Assert.Null(result);
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task ResolveAsync_DeterministicOrdering_ProducesSameHash()
{
// Arrange