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

Test Suite : Determine mechanics and overall structure for long term #395

Open
andorsk opened this issue Dec 8, 2022 · 6 comments
Open
Assignees
Labels
Milestone

Comments

@andorsk
Copy link
Contributor

andorsk commented Dec 8, 2022

WHAT: A test suite for various PE implementations
Why: To validate compliance with the specifications
Constraints: Should be able to be easy to spin up a test suite for various implementations.

@decentralgabe spoke of some test suite that can be used for PE, potentially docker based. Easy to hook in for other implementors.

@andorsk andorsk changed the title Test Suite : Determine how long term we will handle the test suite Test Suite : Determine mechanics and overall structure for long term Dec 8, 2022
@decentralgabe
Copy link
Member

I think it would be easily to follow the pattern defined by the JWS Test Suite https://identity.foundation/JWS-Test-Suite/

We make a set of test vectors for all objects and processing. Probably a few vectors:

  • Can we serialize and deserialize objects (Definitions, Submissions) across impls
  • Can we verify signatures (JWTs, DIDComm, VCs?)
  • Can we process presentation definintion and respond with compliant presentation submissions?
  • Can we process presentation submission against a presentation definition and come up with a consistent result?

@dtmcg
Copy link
Contributor

dtmcg commented Jan 5, 2023

Lets try and decompose this into a couple of tasks/issues
strawman of how we could break this down

  • the test vectors the suite will test
  • the harness mechanism for the suite
  • the client template to be uptake by the suite

@bumblefudge
Copy link
Collaborator

bumblefudge commented Feb 23, 2023

on today's call, clarified --> 5 sequential issues

  1. one simple test - e2e flow, with one super-simple VC and super-simple pres_sub, etc.
  2. harness (1 test)
  3. normative statement audit
  4. rest of tests (could be parallelized)
  5. first 3 gotta be done before

@brentzundel
Copy link
Member

not sure why this is in milestone v2.1?

@kimdhamilton
Copy link
Collaborator

not sure why this is in milestone v2.1?

I suppose I was feeling more optimistic about my bandwidth. Let's make it 3.0

@nklomp
Copy link
Member

nklomp commented Aug 26, 2023

Yeah we had some discussion about it a week ago that the testsuite could also go without a version

@csuwildcat csuwildcat modified the milestones: v2.1, future Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants