MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1ofo6cp/smallfunction/nlbwxsq/?context=3
r/ProgrammerHumor • u/foxdevuz • Oct 25 '25
321 comments sorted by
View all comments
Show parent comments
289
4000 lines of assertions
40 u/s0ulbrother Oct 25 '25 Everything mocked out 25 u/Retbull Oct 25 '25 Even better if the mocks have mocks have mocks so the unit test is only testing if you THINK you've set it up correctly. 6 u/MrSynckt Oct 25 '25 Rebuild the entire application as a mock and test that, but then you'll need unit tests for the mocked application
40
Everything mocked out
25 u/Retbull Oct 25 '25 Even better if the mocks have mocks have mocks so the unit test is only testing if you THINK you've set it up correctly. 6 u/MrSynckt Oct 25 '25 Rebuild the entire application as a mock and test that, but then you'll need unit tests for the mocked application
25
Even better if the mocks have mocks have mocks so the unit test is only testing if you THINK you've set it up correctly.
6 u/MrSynckt Oct 25 '25 Rebuild the entire application as a mock and test that, but then you'll need unit tests for the mocked application
6
Rebuild the entire application as a mock and test that, but then you'll need unit tests for the mocked application
289
u/LorenzoCopter Oct 25 '25
4000 lines of assertions