re: Is easier to do TDD for your dependencies after you have designed their API using mocks VIEW POST

re: I know your idea is writing a mock test to get a tested API, then do real test when needed. Your sample is really a little complicated for me, I r...

Ups... sorry 😳 ... which part do you think that is more complicated?

Hi Chenge... I tried to simplify and remove stuff from the example, that I think is not need to share the idea.

Thanks, I try to read once more. =)

It's clear more now.

I think best include full code or simplify code to be full. If you miss some method that'll be hard to follow.

Code of Conduct Report abuse