go-patterns icon indicating copy to clipboard operation
go-patterns copied to clipboard

Using table driven test and go-capturer can help

Open alok87 opened this issue 3 years ago • 0 comments

I was practicing some patterns in my own repo and this repo has been really helpful in telling the basics in just few minutes. Thanks @bvwells

Just some suggestion to make it more easy to read:

  1. Table driven tests at many places can simplify reading tests. Example.
  2. Using go-capturer library (or keeping a copy of it in this repo) can also make testing easier to read and would reduce a lot of boilerplate code. Example.

alok87 avatar Dec 18 '21 17:12 alok87