ahrefs / atd

Static types for JSON APIs
Other
309 stars 52 forks source link

Switch to alcotest for atdgen unit tests #310

Closed mjambon closed 1 year ago

mjambon commented 1 year ago

make test doesn't pass with yojson 2.0.1 (or 2.0.0). Switching to alcotest makes troubleshooting easier because the old handcrafted test facility wasn't printing a stack backtrace.

The actual bug will be fixed in yojson.

Note that on top of that, CI is broken due to dependency issues. This will be fixed separately. For now, testing locally after installing yojson.2.0.1 is the way to go.

PR checklist