decentralized-identity / presentation-exchange

Specification that codifies an inter-related pair of data formats for defining proof presentations (Presentation Definition) and subsequent proof submissions (Presentation Submission)
https://identity.foundation/presentation-exchange
Apache License 2.0
82 stars 37 forks source link

Extract e2e test vector set and/or profile from verite and tbd implementations? #426

Open bumblefudge opened 1 year ago

bumblefudge commented 1 year ago

Initial Thoughts:

Current State:

bumblefudge commented 1 year ago

(will check in at next week's meeting on normative statements and neg vectors)

decentralgabe commented 1 year ago

jest is fine, since we'll just be plugging in json. I'm not a js/ts guy though so can't commit to doing the impl but I can commit to generating the vectors

bumblefudge commented 1 year ago

Discuss next week?

andorsk commented 1 year ago

Discussed on DIF:

  1. Focus on building the test vectors out first ( can do )
  2. Second, let's build out the test harness. ( challenged with resources. need to find a way to get this through with the limited bandwidth everyone has)
bumblefudge commented 1 year ago

update on today's call - Kim will check in a few vectors later in the summer to get the ball rolling but others shouldn't wait for her if they have unit tests they can check in

kimdhamilton commented 1 year ago

I started on this. Key references:

The README.md in the pe-tests repo has a description of the intended structure, approach, and issues to discuss. I'd like to discuss these with you folks before proceeding further.

I've started roughly mapping the tests to @bumblefudge's spreadsheet (thanks again Juan!) and also have flagged some spec language issues, as we expected would happen.

We could consider moving another of my WIP repos to DIF, which was intended as a basic sample implementation of PE and CM, plus serve as a useful library for node/js. It would just take a little more work for me to push along and use this as a sample implementation of the pe-test suite. Just mentioning in case we are interested.

@csuwildcat @decentralgabe @brentzundel @andorsk @bumblefudge

bumblefudge commented 12 months ago

Niels pointed out there is an OpenAPI def for v1 and for v2 already on their repo: https://github.com/Sphereon-Opensource/pex-openapi to generate APIs per language...

bumblefudge commented 12 months ago

Also, as Niels pointed out on the call, https://github.com/kimdhamilton/presex-lib is currently private, @kimdhamilton ! Feel free to gather additional requirements from, link to, and then close the other test-suite issues while you're at it :D

bumblefudge commented 11 months ago

Testing artefacts moved into a DIF repo and editors here are now CODEOWNERS over there, so feel free to PR against it if you find bugs or nits!

kimdhamilton commented 11 months ago

Also, as Niels pointed out on the call, https://github.com/kimdhamilton/presex-lib is currently private, @kimdhamilton ! Feel free to gather additional requirements from, link to, and then close the other test-suite issues while you're at it :D

Thanks for the reminder @bumblefudge -- I switched it to public