blob: 739d0ba123cc4df2321d6223b1a3af4115da66cd (
plain)
1
2
3
4
5
6
|
# Mistake #85: Not using table-driven tests
Table-driven tests are an efficient way to group a set of similar tests to prevent code duplication and make future updates easier to handle.
[Source code](https://github.com/teivah/100-go-mistakes/tree/master/src/11-testing/85-table-driven-tests/main_test.go)
|