stackabletech / stackabletech/operator-rs
Migrate tests from doctests to #[test]s
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 167
- Forks
- 19
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 9
Description
Doctests require a separate compilation per test, which is slow and uses immense amounts of RAM if allowed to run in parallel.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository's doctests and reviewing how its Rust tests are organized. Migrate the doctest cases to #[test] functions, then run the relevant test suite and confirm the tests no longer require separate doctest compilation.
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
- Mostly clear
- Newbie friendliness
- 35/100