Stub external systems (network, DB, filesystem) but let internal objects run for real.
Why This Matters
Over-mocking internals tests the mocks, not the code, and hides real integration bugs.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.