2 ms·
This the best talk I've ever seen about testing (Ian Cooper): https://www.youtube.com/watch?v=EZ05e7EMOLM https://www.youtube.com/watch?v=EZ05e7EMOLM I see he'
by globular-toast 3y ago
This the best talk I've ever seen about testing (Ian Cooper): https://www.youtube.com/watch?v=EZ05e7EMOLM https://www.youtube.com/watch?v=EZ05e7EMOLM
I see he's done a much more recent follow up, which I intend to watch: https://www.youtube.com/watch?v=IN9lftH0cJc https://www.youtube.com/watch?v=IN9lftH0cJc Not sure if it contains new ideas.
He says the unit is not "a class" but a module. It's up to you to decide what the module does (ie. what level of abstraction it's at). More importantly, he argues against mocking and essentially "unit testing" in most cases.