I could never for the life of me understand why table-driven tests are so popular in Go. At least I'm not the only one: https://valyala.medium.com/f-tests-as-a-replacement-for-table-driven-tests-in-go-8814a8b19e9e
f-tests as a replacement for table-driven tests in Go

Table-driven tests in Go is the officially recommended way to write multiple tests for some function, which may produce different outputs for different inputs. See this article, which explains the…

Medium
Table-driven tests work really well for simple input-output tests like in https://go.dev/wiki/TableDrivenTests. But when you need to do something more complicated they become absolute hell to read and understand.
Go Wiki: TableDrivenTests - The Go Programming Language