Let's say that I have a software component A (function, class, react component, etc.) that uses three other software components B, C, D.
If I try to test fully test A (without mocks!), then I would have to basically implement (unit) tests for components A, B and C.
My question is: should I use:
- Integration Tests without mocking
- Integration Tests with mocking + unit tests
Any related resources are welcomed. Thanks in advance for your time!