-
Notifications
You must be signed in to change notification settings - Fork 201
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
--hidebanner
or -b
- Hide the License Banner
--xmlfile:value
or -xml:value
- XML output file path
--runlist:value
or -rl:value
- Specify the name of a file which lists the tests to run
--run:value
or -r:value
- Specify the tests to run, separate by commas
--include:value
or -i:value
- Specify the categories to include
--exclude:value
or -e:value
- Specify the categories to exclude
--dontshowignored
or -dsi
- Don't show ignored tests
--loglevel:value
or -l:value
- Logging Level - Information, Warning, Error
--exitbehavior:value
or -exit:value
- Exit behavior - Continue, Pause
--h
or -?
- Show Usage