Re:Ask HN: How to approach testing in Golang?
by humanrebar on Monday December 11, 2017 @10:38AM
(#15897660)
> You can test without mocks...
There are some things that are implausible to test without injecting not-production-code. Many of these look like errors (bad inputs, expired sessions, etc.) that should be intelligently handled.
There are some things that are implausible to test without injecting not-production-code. Many of these look like errors (bad inputs, expired sessions, etc.) that should be intelligently handled.