w3c / vc-jose-cose-test-suite

https://w3c.github.io/vc-jose-cose-test-suite
Other
4 stars 0 forks source link

Representing extension validation in tests #9

Open OR13 opened 10 months ago

OR13 commented 10 months ago

We have this experimental file here:

https://github.com/w3c/vc-jose-cose-test-suite/blob/main/testcases/secured-vc-kitchen-sink-valid/validation.json

As you can see, testing validation of all extensions used can get very complicated.

If you think this file is good enough, please say so, if you have additional things you want to see in the validation files for test cases, please let us know.

decentralgabe commented 10 months ago

it is complicated, but is there a viable alternative?

bob420-svg commented 10 months ago

Sure I think it's good

OR13 commented 10 months ago

@decentralgabe IMO, there is not.

Are you ok with how validation is expressed in the current test fixture?

If you are not, please propose an alternative.

decentralgabe commented 10 months ago

I'm fine with the current fixture