Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another source for test cases #177

Open
itamarst opened this issue Feb 11, 2023 · 2 comments
Open

Another source for test cases #177

itamarst opened this issue Feb 11, 2023 · 2 comments
Labels
Milestone

Comments

@itamarst
Copy link
Contributor

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.

@anweiss
Copy link
Owner

anweiss commented Apr 10, 2023

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

@anweiss anweiss added this to the v1.0.0 milestone Apr 10, 2023
@itamarst
Copy link
Contributor Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants