]> git.giacomolli.uk - onechat/commit
Name the test files that hold only shared helpers
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 17:57:37 +0000 (14:57 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Sat, 7 Nov 2026 17:57:37 +0000 (14:57 -0300)
commit1379d7d0d0173416237ddf8ebe820743d2cecfa6
treebc688215ece23739391e740dccd2850c0102f69a
parentfbee1a3e74297e1f73b3fc99913861b80c96cf87
Name the test files that hold only shared helpers

A helper that one test file uses stays in that file. A helper that more
than one test file uses goes into a file without tests, whose name says
what it holds and ends with _helper_test.go. The name then shows that
the file has no tests, and a file named for one type does not seem to
test a feature of that name.
.agents/skills/go-code/SKILL.md