ocaml / omd

extensible Markdown library and tool in "pure OCaml"
ISC License
156 stars 45 forks source link

Replace markdown based conformance tests with JSON based #287

Open shonfeder opened 2 years ago

shonfeder commented 2 years ago

The current conformance tests depend on custom logic to parse out test from the markdown of the spec. Fortunately, CommonMark provides all test cases as JSON (https://spec.commonmark.org/0.30/spec.json). It will simplify our testing set up considerably to test against the JSON spec, and allowing us to do away with the pretty cumbersome code generation.