Go Testing Package Tutorial
Write effective tests in Go with the standard testing package: table-driven tests, subtests, fixtures, parallelism, benchmarks, and fuzzing.
·4 min read · #go#testing#benchmarks
2 posts · page 1 of 1
Write effective tests in Go with the standard testing package: table-driven tests, subtests, fixtures, parallelism, benchmarks, and fuzzing.
Stop writing one example per test. Property-based testing generates inputs for you and finds the edge cases you would never think to write.