Units and Test Harnesses
A unit is an individual, group, or other entity regarded as an elementary part of a whole. Where Fusebox is concerned, this definition could fit anything from the entire application down to the individual fuse, including circuits or fuseactions along the way. Unit testing in FLiP, though, is concerned with the smallest available unit: the fuse.
To test a fuse independently of other code in the application (that might or might not even be developed yet), a means must exist for running the fuse separately from the application. This is the sole purpose of a test harness.
What Is a Test Harness
The idea behind a test harness is simple. A test harness provides the environment with a unit of code that is needed to run. The ...