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. ...

Get ADO.NET Programming in Visual Basic™ .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.