anweiss/cddl

Another source for test cases

itamarst opened this issue · 2 comments

The Ruby CDDL parser (I think by one of the authors of the spec) can be downloaded from https://rubygems.org/gems/cddl/versions/0.10.1; there's a bunch of test cases included inf you untar the gem.

Weirdly the repo is not public on GitHub, but this does seem like a way to get more tests. Code is MIT licensed, supposedly.

Thanks for sharing this @itamarst! Super helpful. Definitely in need of more tests.

Author indicates he is keeping repo private since he wants people to switch to a different tool he wrote. I asked if repo has additional test cases that aren't in the gem.

Meanwhile, another source of tests: https://github.com/ericseppanen/cddl-cat/blob/master/tests/cbor_cddl.rs (could probably be converted pretty easily to this crate's API).