Defining a Database Connection
As a general practice, I employ a style of programming that relies heavily on a technique referred to as scaffolding and commonly understood to mean a way of unit testing. This technique simply means that a little code is written that performs a complete job, and some test code is written to ensure the code works. As the body of code grows, existing code is regressively tested as each new chunk is added and tested. The promoted means of testing code is to use NUnit. The result of using NUnit or scaffolding is approximately the same except that using NUnit will result in your being able to use existing testing tools that will run your test suite automatically, accumulating and reporting on results.
NOTENUnit (see ... |
Get Visual Basic® .NET Power Coding 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.