GFM Test Case Availability

The CommonMark spec allows the test cases to be downloaded in json format - I love that feature. Is there any way to get the same for GFM?

You should be able to run something like

python3 test/ --dump-tests < extension.txt > tests.json

on Github’s fork of cmark, but I have not tried this.

1 Like

Great - thanks. Really appreciate it

I once knew where to find it, but now I forgot. I just looked at the Github repos, but did not find any JSON containing the test-cases. Where did you download it? Thanks.

EDIT: Nevermind! I found it: It’s a link on the spec’s landing page

1 Like