- Name a table-driven case slice `testCases` and its range variable
`tc`. A subtest name describes the behavior, not a generic outcome or
input.
- In a test file, put constants immediately after the imports, then the
tests, then supporting types, methods, and helpers.
- Name a table-driven case slice `testCases` and its range variable
`tc`. A subtest name describes the behavior, not a generic outcome or
input.
- In a test file, put constants immediately after the imports, then the
tests, then supporting types, methods, and helpers.