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

#214 Restructure hosting of test vectors #215

Merged
merged 5 commits into from
Jan 9, 2024
Merged

#214 Restructure hosting of test vectors #215

merged 5 commits into from
Jan 9, 2024

Conversation

diehuxx
Copy link

@diehuxx diehuxx commented Dec 21, 2023

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 vectors

See TBD54566975/tbdex-js#129 for how implementations can use git submodules to consume test vectors and other hosted materials.

@diehuxx
Copy link
Author

diehuxx commented Jan 7, 2024

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.

@diehuxx diehuxx changed the title #214 Document hosting and compilation of test vectors into one file #214 Restructure hosting of test vectors Jan 8, 2024
@KendallWeihe
Copy link
Contributor

Nice! A coupla thoughts...

@KendallWeihe
Copy link
Contributor

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.

@diehuxx
Copy link
Author

diehuxx commented Jan 8, 2024

@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 hosted/

@@ -0,0 +1,8 @@
{
"scripts": {
"validate-vectors": "node validate-vectors.js"
Copy link

@nitro-neal nitro-neal Jan 8, 2024

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-*

Copy link

@nitro-neal nitro-neal left a 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

Copy link
Member

@mistermoe mistermoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@diehuxx diehuxx merged commit 4540cec into main Jan 9, 2024
@diehuxx diehuxx deleted the vectors-214 branch January 9, 2024 20:33
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 this pull request may close these issues.

4 participants