I am always unsure whether I should use the singular/plural form for their directory names. Actually, the standards diverges. See the following table researched by AI:
Singular vs. plural - directory names: written standards vs. repo reality (checked 2026-10-28; a cell is a link = defined in the linked written standard · italic = observed repo layout, no written standard · - = none defined)
| Toolchains / Projects | Tests | Documentation | Benchmarks |
|---|---|---|---|
| Maven | src/test/ | src/site/ | - |
| Cargo | tests/ | - | benches/ |
| golang-standards/project-layout | test/ | docs/ | - |
| golang/go | test/ | doc/ | - |
| Linux kernel | tools/testing/selftests/ | Documentation/ | tools/perf/ |
| CPython | Lib/test/ | Doc/ | Tools/*bench/ |
| Node.js | test/ | doc/ | benchmark/ |
| rust-lang/rust | tests/ | src/doc/ | - |
| LLVM | llvm/test/ | llvm/docs/ | llvm/benchmarks/ |
| Django | tests/ | docs/ | - |
In my view, test, doc, bench and tests, docs, benches are both fine, since at least they are better than the inconsistent standards.