Command Line Interface
This description assumes that the RunVBUnit.exe is on your PATH.
Open up a command prompt (cmd.exe) and run the command runvbunit. You should get the following message back.
Usage:RunVBUnit [-tnal] TestSuite.ProgID [TestSuite1.ProgID] [TestSuite2.ProgID] [...] [export Export1.ProgID [- "custom params"]] [...] Options: t - show the TestRunner Window n - no output to the console! a - DON't autoclose TestRunner Window l - list incoming results in TestRunner TestSuite.ProgID - load the indicated TestSuite and run it Export ExportModule.ProgId [- "custom parameters"] - load the indicated Export Module to process the TestResult. Optionally pass a custom parameter string
The options broken down further
t -
Ensures that the TestRunner window is displayed.n -
Suppresses printed output to the console. Useful for batch files, when you will typically just test the exit value of the script using the %ERRORLEVEL% environment variable to see whether anything failed.a -
Don't close the TestRunner after the test suite[s] have run. Used when you want to use the TestRunner interactively, by browsing to a test dll, for example.l -
Displays a pane on the TestRunner that graphically displays the test results and any associated data.TestSuite.ProgID -
ProgID of a class that implements vbUnit3.ISuite, which is a Suite that contains the tests to be run.export -
Allows you to pass in another ProgID for a class that implements vbUnit3.IResultExport, which can be used to as an Intercepting Filter to log Results, etc; as you wish.