Unit Testing Intro
We want to bring the benefits of Unit Testing to the LabVIEW masses. Every developer deserves to have the confidence of knowing that the code they wrote does what they intended. They also deserve the ability to make changes to one part of their code without worrying about breaking something else. Unit Testing gives us that and much more.
Most programming languages view Unit Testing as an integral component to software development. We think the LabVIEW Community should do the same. The key to that is introducing developers to the concept of unit testing as early as possible. NI training does not mention Unit Testing until the more advanced courses, so we want to fill that gap.
This workshop is a 3-hour workshop presented either in-person or over Zoom. The goal is to present Unit Testing to LabVIEW beginners and make it more accessible. We use a very basic LabVIEW Unit Testing Framework that requires no special skill beyond LabVIEW Core 1. We also teach a very simple yet powerful technique called the Humble Object to help test hard to test and legacy code. There are 2 exercises on writing unit tests and 1 exercise on refactoring hard to test legacy code into testable chunks to help you get some hands-on practice.