John, check out "Test Runner Pre-build action.vi" in the 1.0 release. I'm not sure what the current version is on LVTN, but you can find 1.0 on GitHub: https://github.com/JKISoftware/Caraya/tree/release/1.0.0/src
The first snippet below is the Pre-Build action itself, the second is the actual guts of where the test gets invoked.
Let me know if that doesn't get you started in the right direction or you have more questions.