]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/cxtm.lisp
Support DateTime occurrences and expose normative baseline conflicts
[topic-maps.git] / tests / cxtm.lisp
index ef5ea9bcffb244085e8a2ded7b09474aff31cd37..9edc6288ce035399bc04dfdb2c44c7eef2652eed 100644 (file)
     (topic-maps.test-foundation::emit-json-value
      (topic-maps.test-foundation::fields
       "kind" "cxtm-byte-equality" "passed" (+ (length *last-cxtm-checks*) (length additional-checks)) "failed" 0
+      "checkOutcomeInterpretation" "passed/failed count local assertions; contractCounts and case status report imported comparisons independently"
+      "contractCounts" (topic-maps.test-foundation::fields "pass" (count-if (lambda (r) (getf r :match)) *cxtm-results*)
+                                                         "fail" (count-if-not (lambda (r) (getf r :match)) *cxtm-results*))
       "checks" (topic-maps.test-foundation::json-array (append *last-cxtm-checks* additional-checks))
       "cases" (topic-maps.test-foundation::json-array
        (loop for r in *cxtm-results* collect