restic / restic/rest-server

Add unit tests for listBlobsV2

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

Nobody has claimed this yet.

help: wanted
Dominant language
Go
Stars
1.5k
Forks
178
Avg merge
15d 9h
Merged PRs (30d)
2

Description

While writing tests for https://github.com/restic/rest-server/pull/221 I've noticed that there is not test coverage at all for listBlobsV2. We should add some tests for that.

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

Locate the listBlobsV2 entry point in the Go REST backend and review the tests discussed in pull request #221. Add focused unit coverage for its behavior; the work is done when listBlobsV2 is covered by tests and the test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.