-
Notifications
You must be signed in to change notification settings - Fork 212
Command line test execution
Once your test project has been compiled with the appropriate Delphi version, you can execute your tests from the command line. Alternatively, you can automate this execution in batch files.
All CLI options are listed with the -h option on your test project.
The CLI option --exitbehaviour (or -exit) has two possible values :
-
continue-> command line will continue after tests execution has ended. -
pause-> command line will pause after tests execution has ended, waiting for the user to press a key to continue.
Example usage :
MyTestProj.exe -exit:continue
All available options:
--options:value or -opt:value - Options File --hidebanneror-b - Hide the License Banner --xmlfile:valueor-xml:value - XML output file path --runlist:valueor-rl:value - Specify the name of a file which lists the tests to run --run:valueor-r:value - Specify the tests to run, separate by commas --include:valueor-i:value - Specify the categories to include --exclude:valueor-e:value - Specify the categories to exclude --dontshowignoredor-dsi - Don't show ignored tests --loglevel:valueor-l:value - Logging Level - Information, Warning, Error --exitbehavior:valueor-exit:value- Exit behavior - Continue, Pause --hor-?` - Show Usage