To clarify I (from what I've learned at this point) that perhaps the best way is to just capture the output of the subprogram when it is called from the main program then just print it out from main when it returns. However, I'd like to see the printout of the test results as the subprogram runs, so that I know something failed at that moment instead of having to wait until the entire test subprogram completes to gather my results?