- git mv JetStreamApiFixture, JetStreamClusterFixture, LeafFixture, Parity utilities, and TestData from NATS.Server.Tests to NATS.Server.TestUtilities - Update namespaces to NATS.Server.TestUtilities (and .Parity sub-ns) - Make fixture classes public for cross-project access - Add PollHelper to replace Task.Delay polling with SemaphoreSlim waits - Refactor all fixture polling loops to use PollHelper - Add 'using NATS.Server.TestUtilities;' to ~75 consuming test files - Rename local fixture duplicates (MetaGroupTestFixture, LeafProtocolTestFixture) to avoid shadowing shared fixtures - Remove TestData entry from NATS.Server.Tests.csproj (moved to TestUtilities)
27 lines
765 B
C#
27 lines
765 B
C#
using NATS.Server.TestUtilities.Parity;
|
|
|
|
namespace NATS.Server.Tests.Parity;
|
|
|
|
public class JetStreamParityTruthMatrixTests
|
|
{
|
|
[Fact]
|
|
public void Jetstream_parity_rows_require_behavior_test_and_docs_alignment()
|
|
{
|
|
var report = JetStreamParityTruthMatrix.Load(
|
|
"differences.md",
|
|
"docs/plans/2026-02-23-jetstream-remaining-parity-map.md");
|
|
|
|
report.DriftRows.ShouldBeEmpty();
|
|
}
|
|
|
|
[Fact]
|
|
public void Jetstream_differences_notes_have_no_contradictions_against_status_table_and_truth_matrix()
|
|
{
|
|
var report = JetStreamParityTruthMatrix.Load(
|
|
"differences.md",
|
|
"docs/plans/2026-02-23-jetstream-remaining-parity-map.md");
|
|
|
|
report.Contradictions.ShouldBeEmpty();
|
|
}
|
|
}
|