scribe-org / scribe-org/Scribe-Server

Add handler tests for GET /api/v1/language-stats

Open Beginner friendly
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

-priority- blocked testing
Dominant language
Go
Stars
12
Forks
14
Avg merge
1d 4h
Merged PRs (30d)
4

Description

Terms
Description

Tests for optional comma-separated codes, whitespace trimming, empty segments, duplicates, silent dropping of unsupported codes, and a 404 that fires only when everything was dropped.

Contribution

No response

Contributor guide

Open the contributing guide

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 handler for GET /api/v1/language-stats and read its existing tests or entry point first. Add coverage for comma-separated codes, trimming, empty segments, duplicates, unsupported codes, and the case where all codes are dropped; done means the handler tests verify the specified 404 behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.