Zum Inhalt springen
RUMLRUML

Open Format for Digital Law

A. Spec Test Suite

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

A language-agnostic conformance suite for this specification: each test is a RUML input document plus an expected outcome. An implementation can be checked against the suite without running any code from this repository — every test is data.

Every test is one of two kinds:

  • Validation tests assert whether a document is accepted or rejected, and — when rejected — which rule ids (see Chapter 08 — Validation) must be reported.
  • Evaluation tests assert the result of evaluating a document: given a set of leaf statuses, an implementation must produce a specific RUML-Result document.

Each spec section links to its own tests from a line at the end of that section’s page.

Download the test-suite

Download the spec-test suite (.zip) — every .ruml, .ruml-result and .test.yaml file under cases/, plus the descriptor schema, the rule catalogue (chapter 08) and the Runner Contract, so an implementation can be tested against the suite directly.