Prefer Integration Tests Over Unit Tests

The pros of not writing unit tests

Ecky Putrady
Better Programming
Published in
6 min readJun 7, 2023

--

Photo by Tim Mossholder on Unsplash

I have a controversial stance on testing practices. I’ve been in various teams and companies, and my approach to testing usually raises eyebrows.
In short, I tend not to write unit tests. I instead write many integration tests and rarely use mocks. In my experience, such an approach allows me to deliver changes faster and more…

--

--