Class Track2Runner

java.lang.Object
dev.omnist.conformance.Track2Runner

public final class Track2Runner extends Object
Track 2 of the conformance harness: runs the omnist-spec's JSON-vector test suite (omnist-spec ยง8.5) directly in-process against this port's public API (no CLI subprocess), dispatching each vector's operation and comparing the result or diagnostics against the vector's expected outcome.
  • Method Details

    • runTrack2

      public static int[] runTrack2(Path testSuiteDir) throws Exception
      Runs every JSON vector under testSuiteDir and returns the tally.
      Parameters:
      testSuiteDir - directory containing the Track 2 JSON vector files
      Returns:
      a 3-element array {pass, fail, skip}
      Throws:
      Exception - if a vector cannot be read or parsed