Creating a Test Harness
Next we will create a test harness project to try out our control on. If you’ve never been part of an electrical engineering team, the term test harness might seem strange. In a prior life (so it seems) I once worked as a test technician in an electronics plant. We used test harnesses, which were specially designed pieces of equipment, to provide controlled input to a component. The output can be compared to a known set of expected parameters. This way we had a controlled way of determining whether a component was performing as expected. We will do the same thing with our test harness.
In our case, the harness will simply be a Windows Form. We will put controls on the form that test all of the functions of the Data Control. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access