rustls / rustls/rcgen

Deduplicate testsuite

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
505
Forks
157
Avg merge
39m
Merged PRs (30d)
1

Description

It would be nice if we could deduplicate the code that creates various test cases for botan, rustls, and openssl. I.E. they implement a trait and this trait is then used by the testing code. The hard part would be that ideally we still represent each resulting test via a rust test, instead of having just one big test for botan, one big one for rustls, and one big for openssl. I wonder how this can be done.

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

Start by inspecting the existing test-case generation code for botan, rustls, and openssl, then trace how each resulting case is registered as a Rust test. The work is done when shared trait-based setup removes duplication while each individual test case remains represented and reported separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.