divviup / divviup/divviup-api

Make tests more concise without losing coverage

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

Nobody has claimed this yet.

Chore Server
Dominant language
Rust
Stars
10
Forks
5
Avg merge
2h 41m
Merged PRs (30d)
66

Description

Some sort of macro-based thing? Or just extracting shared set up and success/failure response assertions for each route

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

No files or tests are named. Start by locating the route tests and comparing their shared setup with success and failure response assertions. Decide whether a macro or extracted helpers best removes repetition, then verify the refactor preserves the existing coverage and test behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.