Refactor code structure and optimize performance across multiple modules
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using FluentAssertions;
|
||||
using Xunit;
|
||||
|
||||
|
||||
using StellaOps.TestKit;
|
||||
namespace StellaOps.TestKit.Connectors;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -60,4 +60,48 @@ public static class TestCategories
|
||||
/// Live tests: Require external services (e.g., Rekor, NuGet feeds). Disabled by default in CI.
|
||||
/// </summary>
|
||||
public const string Live = "Live";
|
||||
|
||||
// =========================================================================
|
||||
// Additional categories aligned with test-matrix.yml pipeline
|
||||
// =========================================================================
|
||||
|
||||
/// <summary>
|
||||
/// Architecture tests: Module dependency rules, naming conventions, forbidden packages.
|
||||
/// </summary>
|
||||
public const string Architecture = "Architecture";
|
||||
|
||||
/// <summary>
|
||||
/// Golden tests: Output comparison against known-good reference files.
|
||||
/// </summary>
|
||||
public const string Golden = "Golden";
|
||||
|
||||
/// <summary>
|
||||
/// Benchmark tests: BenchmarkDotNet performance measurements. Scheduled runs only.
|
||||
/// </summary>
|
||||
public const string Benchmark = "Benchmark";
|
||||
|
||||
/// <summary>
|
||||
/// AirGap tests: Offline/air-gapped environment validation. On-demand only.
|
||||
/// </summary>
|
||||
public const string AirGap = "AirGap";
|
||||
|
||||
/// <summary>
|
||||
/// Chaos tests: Fault injection, failure recovery, resilience under adverse conditions.
|
||||
/// </summary>
|
||||
public const string Chaos = "Chaos";
|
||||
|
||||
/// <summary>
|
||||
/// Determinism tests: Reproducibility validation, stable ordering, idempotency.
|
||||
/// </summary>
|
||||
public const string Determinism = "Determinism";
|
||||
|
||||
/// <summary>
|
||||
/// Resilience tests: Retry policies, circuit breakers, timeout handling.
|
||||
/// </summary>
|
||||
public const string Resilience = "Resilience";
|
||||
|
||||
/// <summary>
|
||||
/// Observability tests: OpenTelemetry traces, metrics, structured logging validation.
|
||||
/// </summary>
|
||||
public const string Observability = "Observability";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user