tf
tf copied to clipboard
✔️ tf is a microframework for parameterized testing of functions and HTTP in Go.
I find that if i'm testing a function with several parameters or long inputs the code style becomes much less readable and I result to a loop like: ```go func...
This works the same way as Errors in #1: ```go Divide(5, 0).Panics() // pass Divide(5, 0).Panics("divide-by-zero") // pass Divide(5, 0).Panics("foo") // fail ```
testify is great, but tf doesn't really need have it as a dependency. Instead just use the build in `reflect.DeepEqual`, as testify does.