Re:Generating unit tests in Go
by andrewguenther on Wednesday December 30, 2015 @05:55PM
(#10814946)
> There is almost no use for unit tests, as they lock down function implementations without verifying functionality.
I would disagree. You can change the implementation all you want, but you cannot change the functionality (contract). If your unit test verifies implementation rather than functionality, then it is a poor test.
I would disagree. You can change the implementation all you want, but you cannot change the functionality (contract). If your unit test verifies implementation rather than functionality, then it is a poor test.