microsoft / microsoft/crescent-credentials

Add unit tests to the samples

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Circom
Stars
52
Forks
13
Avg merge
1d 32m
Merged PRs (30d)
1

Description

Old tests were testing things end-to-end, which was long and hard to do given the inter-dependent nature of the components. It would be nice to have long lived test vectors that could simply be passed to the sample endpoints for API validation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the samples, sample endpoints, and existing end-to-end tests but no paths. Start by locating those tests and endpoints; identify the reusable test-vector shape, and consider the work complete when unit tests validate each sample endpoint without the old end-to-end dependency.

Written by the indexing model from the issue text.

Assessment

Domain
api, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.