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

Automatic validation for examples #28

Closed
kaduk opened this issue Jul 27, 2020 · 1 comment · Fixed by #78
Closed

Automatic validation for examples #28

kaduk opened this issue Jul 27, 2020 · 1 comment · Fixed by #78

Comments

@kaduk
Copy link

kaduk commented Jul 27, 2020

As we get into later stages of publication (both for this document and for other documents providing example SUIT manifests), it will be useful to have some tooling to validate that the examples in the document are valid examples of the current protocol syntax. This may be as "simple" as just confirming that they conform to the CDDL, but having some kind of scripted validation would be nice to have.

@oyvindronningstad
Copy link
Contributor

I'm able to validate using https://github.com/NordicSemiconductor/cddl-gen. One of the test cases for the project uses the examples from manifest12: https://github.com/NordicSemiconductor/cddl-gen/tree/master/tests/scripts

@bremoran bremoran mentioned this issue Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants