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

@@ -4,11 +4,13 @@ using System.Threading.Tasks;
using StellaOps.Bench.LinkNotMerge.Baseline;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Bench.LinkNotMerge.Tests;
public sealed class BaselineLoaderTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public async Task LoadAsync_ReadsEntries()
{
var path = Path.GetTempFileName();

View File

@@ -2,11 +2,13 @@ using StellaOps.Bench.LinkNotMerge.Baseline;
using StellaOps.Bench.LinkNotMerge.Reporting;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Bench.LinkNotMerge.Tests;
public sealed class BenchmarkScenarioReportTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void RegressionDetection_FlagsBreaches()
{
var result = new ScenarioResult(
@@ -52,7 +54,8 @@ public sealed class BenchmarkScenarioReportTests
Assert.Contains(report.BuildRegressionFailureMessages(), message => message.Contains("max duration"));
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void RegressionDetection_NoBaseline_NoBreaches()
{
var result = new ScenarioResult(

View File

@@ -3,11 +3,13 @@ using System.Threading;
using StellaOps.Bench.LinkNotMerge.Baseline;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Bench.LinkNotMerge.Tests;
public sealed class LinkNotMergeScenarioRunnerTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void Execute_BuildsDeterministicAggregation()
{
var config = new LinkNotMergeScenarioConfig

View File

@@ -23,5 +23,6 @@
<ItemGroup>
<ProjectReference Include="..\StellaOps.Bench.LinkNotMerge\StellaOps.Bench.LinkNotMerge.csproj" />
<ProjectReference Include="../../../../__Libraries/StellaOps.TestKit/StellaOps.TestKit.csproj" />
</ItemGroup>
</Project>