Skip to content
Yulong Ming's Homepage
Go back

Inconsistent Naming Standards of Programming Langauges for Tests, Documentations, and Benchmarks

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 / ProjectsTestsDocumentationBenchmarks
Mavensrc/test/src/site/-
Cargotests/-benches/
golang-standards/project-layouttest/docs/-
golang/gotest/doc/-
Linux kerneltools/testing/selftests/Documentation/tools/perf/
CPythonLib/test/Doc/Tools/*bench/
Node.jstest/doc/benchmark/
rust-lang/rusttests/src/doc/-
LLVMllvm/test/llvm/docs/llvm/benchmarks/
Djangotests/docs/-

In my view, test, doc, bench and tests, docs, benches are both fine, since at least they are better than the inconsistent standards.


Share this post:

Next Post
Ghostty 在 macOS 上的中文渲染问题