Stop Using Mocking in Unit Testing! | Code Cop #020
Summary
This Code Cop episode analyzes bad advice on LinkedIn regarding software testing. The author suggests avoiding mocking libraries in favor of "fakes," which is presented as harmful, especially from someone claiming to be a testing expert. The takeaway is that while actual dependencies should be avoided in tests, the advice to completely shun mocking libraries is flawed and can lead to poorly written and ineffective tests.