, DbC , .
Using DbC will be effective for things like checking I / O methods, and this can save you some time.
But for more complex tests (for example, dependency on mocking) this will be easier with external unit tests .
Therefore, I do not think that you can eliminate all the requirements for testing an external block using them.
source
share