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.Vex.Baseline;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Bench.LinkNotMerge.Vex.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.Vex.Baseline;
using StellaOps.Bench.LinkNotMerge.Vex.Reporting;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Bench.LinkNotMerge.Vex.Tests;
public sealed class BenchmarkScenarioReportTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void RegressionDetection_FlagsBreaches()
{
var result = new VexScenarioResult(
@@ -53,7 +55,8 @@ public sealed class BenchmarkScenarioReportTests
Assert.Contains(report.BuildRegressionFailureMessages(), message => message.Contains("event throughput"));
}
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void RegressionDetection_NoBaseline_NoBreaches()
{
var result = new VexScenarioResult(

View File

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

View File

@@ -2,11 +2,13 @@ using System.Linq;
using System.Threading;
using Xunit;
using StellaOps.TestKit;
namespace StellaOps.Bench.LinkNotMerge.Vex.Tests;
public sealed class VexScenarioRunnerTests
{
[Fact]
[Trait("Category", TestCategories.Unit)]
[Fact]
public void Execute_ComputesEvents()
{
var config = new VexScenarioConfig