cleanup: Move cfg(tests) modules to its own files
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 694
- Forks
- 336
- Avg merge
- 5d 14h
- Merged PRs (30d)
- 9
Description
The tests mod in stdarch is really big. We should split them into their own files instead of inline them into other mods.
This has been discussed for libstd in https://github.com/rust-lang/compiler-team/issues/344.
Also see some other tricks in https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html.
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 large inline cfg(test) modules in stdarch and review the linked libstd discussion and blog post for the intended file-splitting approach. Done means the test modules have their own files instead of being inline in other modules, with the stdarch test suite still passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100