Re:Kent Beck: “I get paid for code that works, not for tests...
by emodendroket on Thursday December 08, 2016 @09:53AM
(#13130598)
I mean if you have a method whose definition is literally just "return 'abc'" and then you have a test assert that that method returns 'abc', knock it off.
[ Parent
| on HN ]
Re:Kent Beck: “I get paid for code that works, not for tests...
by jdmichal on Thursday December 08, 2016 @10:49AM
(#13131010)
I call those types of test, "testing that the compiler works." Not really something you should be testing! It also applies to testing code that is just a wrapper around third-party libraries.