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

Automated tests #16

Open
sjakobi opened this issue Jun 16, 2022 · 1 comment
Open

Automated tests #16

sjakobi opened this issue Jun 16, 2022 · 1 comment

Comments

@sjakobi
Copy link
Collaborator

sjakobi commented Jun 16, 2022

This package currently has no test-suite. It would be nice to have one so we realize when things break.

@sjakobi
Copy link
Collaborator Author

sjakobi commented Jun 16, 2022

Since IIRC JSON is a subset of YAML-1.2, maybe we can test that the conversion JSON -> YAML -> JSON roundtrips.

I was also wondering whether the yaml-test executable needs tests of its own: I suspect not, because it's a very thin wrapper around the decodeValue and encodeValue functions.

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

No branches or pull requests

1 participant