Re:Evil Unit Testing (2019)
by exdsq on Thursday September 24, 2020 @10:28AM
(#24578905)
Which is a function.
[ Parent
| on HN ]
It might start out as a function, then become a factory, then an object and if you bind your test to the implementation details of this code, you will have to rewrite your test every time you refactor your code. Not ideal.