json-ld / yaml-ld

CG specification for YAML-LD and UCR
https://json-ld.github.io/yaml-ld/spec
Other
19 stars 8 forks source link

Conformance Tests #20

Open VladimirAlexiev opened 2 years ago

VladimirAlexiev commented 2 years ago
VladimirAlexiev commented 2 years ago

These resources can be useful:

VladimirAlexiev commented 2 years ago

One must be impressed by the number of JSONLD 1.1 conformance tests https://w3c.github.io/json-ld-api/reports: 1319. Of course, we should replicate all these tests in YAML, then add more about the extra features.

Summary table: https://docs.google.com/spreadsheets/d/1fSV1vgoRXVY9DR_Rd4eQ02qP01gBctGKvUQQafWVFPQ/edit#gid=0 image

gkellogg commented 1 year ago

Discussed at TPAC F2F, @gkellogg to setup testing infrastructure to focus on the specifics of YAML-LD, vs JSON-LD API methods. Call for test cases.

gkellogg commented 1 year ago

There is a substantial amount of overlap in all these tests; some are simply replicated (e.g. expansion and toRdf), and they are principally designed to test the algorithms. Depending on the mechanisms we define for processing YAML-LD, this may be overkill. Of course, we can mechanically transform all of these tests into YAML, but there may be some combinatoric explosion considering combining both JSON and YAML forms when processing.

Gregg Kellogg Sent from my iPhone

On Jul 11, 2022, at 5:39 AM, Vladimir Alexiev @.***> wrote:

 One must be impressed by the number of JSONLD 1.1 conformance tests https://w3c.github.io/json-ld-api/reports. Of course, we should replicate all these tests in YAML, then add more about the extra features.

Summary table: https://docs.google.com/spreadsheets/d/1fSV1vgoRXVY9DR_Rd4eQ02qP01gBctGKvUQQafWVFPQ/edit#gid=0

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.