I am starting to use unit testing in my projects, and am writing tests that are testing at the method/function level.
I understand this and it makes sense.
But,
Here are a couple of constraints that a good unit test satisfies. Meeting these constraints also required good testable code.
These constraints usually don't apply to integration tests.