Great man. I don't have much knowledge about integration testing. But what I know that we don't do mocking and stubbing in integration test.. rather db interaction in real is happened during integration testing. Mocking and stubbing are done during unit testing. That's how I segregate b/w integration and unit testing. Please correct me if I'm wrong.
@thedevtool14 күн бұрын
@@ranit-biswas that’s correct. A unit test is not testing functionality of underlying dependencies. Rather, it will mock their behavior to ensure we’re using the dependencies correctly. However, people can get pedantic about what’s a unit versus integration test. You can just call it automated testing.