Login
From:
Alex Pliutau Blog
(Uncensored)
subscribe
Table driven tests in Go
https://pliutau.com/table-driven-tests-in-go/
links
backlinks
Roast topics
Find topics
Find it!
In practice-go we often use table driven testing to be able to test all function scenarios. For example the FindAnagrams() function returns us a list of anagrams found in the dictionary for given input.