rust-lang / rust-lang/rust

Add unit tests for jsondocck

Open
#140,108 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-rustdoc-json A-test-infra C-enhancement T-rustdoc
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Right now jsondocck doesn't have any tests. We should probably add some.

Might be worth adding some. :)

Originally posted by @GuillaumeGomez in https://github.com/rust-lang/rust/issues/140076#issuecomment-2818036975

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

The issue names jsondocck but no source files or existing tests. Locate the jsondocck entry point and inspect its current behavior before identifying unit-test boundaries. Done means the tool has a useful unit-test suite covering its existing behavior and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing, tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.