Re:Software Tests Are for Millionaires
by pclmulqdq on Wednesday February 15, 2023 @09:07PM
(#34814030)
Personally, I have found that unit tests speed you up a lot, while integration tests often slow you down. In other words, if you're writing a "mock_[X]" class/function, it's probably slower than just testing with X.
[ Parent
| on HN ]
Re:Software Tests Are for Millionaires
by alexgrover on Wednesday February 15, 2023 @09:53PM
(#34814382)
Typically people refer to those by the opposite naming convention - unit tests just test one thing and mock any dependencies, while integration tests integrate multiple things and generally involve less mocking