3 ms·
The metaprogramming lecture [0] perpetuates the common misunderstanding of what “mocking” is [1], which is unfortunate. [0] https://missing.csail.mit.edu/2020/
by tomstuart 4y ago
The metaprogramming lecture [0] perpetuates the common misunderstanding of what “mocking” is [1], which is unfortunate.
[0] https://missing.csail.mit.edu/2020/metaprogramming/#a-brief-aside-on-testing https://missing.csail.mit.edu/2020/metaprogramming/#a-brief-...
[1] https://martinfowler.com/articles/mocksArentStubs.html https://martinfowler.com/articles/mocksArentStubs.html
- sethaurus 4y agoAt some point, we might need to accept that "mock" has become a generalised term which refers to many kinds of test-doubles. If it's being taught that way in universities and embodied that way in tooling, then the term has a new meaning.