3 ms·
After reading further in the linked docs, I see that “verified fakes” is another way of getting coverage of the facade class. The advantage is you never have t
by theptip 4y ago
After reading further in the linked docs, I see that “verified fakes” is another way of getting coverage of the facade class.
The advantage is you never have to check in api results. The disadvantage is you can’t run them on every commit, so you learn about breaks to the facade class later. This might be a good trade-off for small clients that don’t change often. It might be a bad trade off for fairly thick/logic-heavy remote-API clients that change often or are under active development. (I’ve worked with one payments/forex API that would meet this description).