-
Notifications
You must be signed in to change notification settings - Fork 39
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
An example to follow would be really nice #14
Comments
Hey @brentzundel - copy that. |
That would be exceptionally useful. E.g., the extent of the instructions for the config.json file are to "modify it," so seeing an example of how such a thing ought to be done would be really great. |
@brentzundel Ok, so the general idea is this. Essentially, the test suite says "I'm going to pass you this JSON credential, have you sign it or whatever (turn it into a VC), and then I'll check for two things: 1) you didn't mangle it, and 2) your lib throws errors when something is non-compliant with the data model." The test suite invokes a given library on a bunch of input credentials (all the json-ld files in But here's basically what you have to do to hook up any VC library to this test suite. a. You have some sort of executable that can accept as stdin input a JSON file (the credential that's going to be made verifiable), and call whatever appropriate For example, for
The
The The Does this help? |
I think this will help. I think it would be good to move these instructions to the readme, where we can continue to add clarification as more questions arise. |
Sounds good, will be moving this to the README. |
Next steps: @dmitrizagidulin to move remaining text from issue comments to README this week. |
Addressed in PR #68. |
@dmitrizagidulin The link above no longer works, do you know where I could go to see a reference implementation of this? |
A VC implementation may successfully create conforming credentials, but how that implementation should interact with the test suite to prove itself is unclear.
The test suite could use better documentation (what precisely will be passed to the implementation by the test suite, what is the test suite expecting as output from the implementation, etc. ?)
A simple working example would also be very helpful.
The text was updated successfully, but these errors were encountered: