3 ms·
I was thinking of access to files, database, http endpoints, etc that need to be mocked if the unit your testing has dependencies that do those things. With in
by barbazoo 5y ago
I was thinking of access to files, database, http endpoints, etc that need to be mocked if the unit your testing has dependencies that do those things.
With integration tests my expectation is that we're using real dependencies just fake data which is often easier to set up.
- kqr 5y agoIf anywhere close to 100 % of your classes accesses files, database, http endpoints etc. I still think you have badly designed code. (And if that code had been test driven, maybe it would have had fewer classes with external dependencies.)