Deduplicate testsuite

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

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Rust
Stars
516
Forks
160
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from rustls/rcgen

All issues in rustls/rcgen

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.