4 ms·
The tips are not contradictory if you follow the advice to start at a higher level. Let's say you had to invent that wire protocol. You would write a test for
by sheepshear 3y ago
The tips are not contradictory if you follow the advice to start at a higher level.
Let's say you had to invent that wire protocol. You would write a test for a client that doesn't care which wire protocol is used.
- HumblyTossed 3y agoTDD works great for this. Usually before I am sent a new piece of equipment (has to go through the approval/purchase process) I’m given the docs. I’ll write unit tests using the examples in the docs (or made up examples based on the docs). I’ll write my software controller against that. By the time I get the actual device I’m just confirming my code works.