-
Notifications
You must be signed in to change notification settings - Fork 10
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
Adding annotations and did some clean up. #73
Conversation
BigBlueHat
commented
Jun 6, 2024
- Explain why test is skipped.
- Remove skipped test/req no longer in spec.
- Enable createVp in context property test.
- Link to text for section 1.3 Conformance tests.
- Link to text for section 4.3 Identifiers tests.
- Link to text for section 4.3 Types tests.
- Add note about not testing 4.5 name/desc.
- Link to text for section 4.6 Cred Subject tests.
- Link to text for section 4.7 Issuers tests.
- Link to text for section 4.8 Validity Period.
- Link to text for section 4.9 Securing Mechanisms.
- Link to text for section 4.10 Status.
@aljones15 @tminard I've been working my way through the spec adding these annotations to the code. They should be mostly up-to-date. However, I'm wanting to pivot off of this baseline and refactor this test suite code a bit. It's currently painful to navigate it as the entire list of requirements is in on big bucket... So, once this is in, I plan to refactor, then return to annotating and sketching out what tests are missing. |
b220bc0
to
1dabb60
Compare
package.json
Outdated
@@ -45,7 +45,7 @@ | |||
"chai": "^4.3.6", | |||
"klona": "^2.0.5", | |||
"mocha": "^10.0.0", | |||
"vc-test-suite-implementations": "github:w3c/vc-test-suite-implementations" | |||
"vc-test-suite-implementations": "../vc-test-suite-implementations" |
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.
this is odd, why are you installing implementations from a local dir?
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.
Sorry...yeah. That wasn't supposed to sneak in there. My bad.
@@ -310,6 +338,7 @@ describe('Verifiable Credentials Data Model v2.0', function() { | |||
await assert.rejects(endpoints.issue(require( | |||
'./input/credential-issuer-name-extra-prop-en-fail.json'))); | |||
}); | |||
// TODO: remove. no longer present. |
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.
looks like the title just changed: https://w3c.github.io/vc-data-model/#names-and-descriptions
@@ -294,6 +321,7 @@ describe('Verifiable Credentials Data Model v2.0', function() { | |||
await assert.rejects(endpoints.issue(require( | |||
'./input/credential-issuer-object-id-not-url-fail.json'))); | |||
}); | |||
// TODO: remove. no longer present. |
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.
the text of the normative statement just changed: https://w3c.github.io/vc-data-model/#names-and-descriptions
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.
Thanks. Noted.
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.
looks like 2 title changes are needed. I do like how you added the google highlight links to each statement before getting to work on the actual test vectors.
1dabb60
to
0a75482
Compare
@aljones15 if you're OK with this, I'd like to wait on doing the But...I'd love to get this one merged before dealing with that larger move (and base it on #74's new groups). |
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.
Approving as PR has a lot of really good improvements and comments in it =)