-
Notifications
You must be signed in to change notification settings - Fork 26
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
#214 Restructure hosting of test vectors #215
Conversation
Instead of using this entire repo as a submodule in implementation repos (tbdex-js, tbdex-kt, etc.), let's pull the JSON schemas and test vectors into their own repo called tbdex-interop-suite, which is included as a submodule here and in implementation repos. |
This reverts commit c3e3327.
Nice! A coupla thoughts...
|
As I was typing that out, I see you committed the files back. Sorry I may be throwing this for a loop. |
@KendallWeihe Sorry for the confusion! In a thread on Discord, we decided against puttin the vectors into a separate repo. So, I reverted to keeping the vectors in |
@@ -0,0 +1,8 @@ | |||
{ | |||
"scripts": { | |||
"validate-vectors": "node validate-vectors.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, will borrow this for web5-*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, once these are all merged in happy to get your help to get web5-* submodule created and working in the same fashion.
Also very soon I think the unit test xml will get upload for tbdex-* and we can add them to the checkmark page in sdk-development
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Separate test vectors into one test vector per file. Set up a validation script to ensure all test vectors follow a common format.
See
hosted/test-vectors/protocol/README.md
for how to use and generate test vectorsSee TBD54566975/tbdex-js#129 for how implementations can use git submodules to consume test vectors and other hosted materials.