Files
natsdotnet/tests/NATS.Server.Tests/Parity/JetStreamParityTruthMatrixTests.cs
Joseph Doherty 5c608f07e3 Move shared fixtures and parity utilities to TestUtilities project
- 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)
2026-03-12 14:45:21 -04:00

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();
}
}