Command Line Interface (CLI)
Usage
Options
By default, Cotton prints out test title, setup title, teardown title, result, and summary.
-b
Set baseDir
All links in setups and teardows with relative path will be referenced from baseDir. Default is current directory.
-c
Compact mode
Compact mode is minimal logging execution. Cotton prints out only test title, result, and summary.
-d
Debug mode
Debug mode is verbose logging execution. Cotton prints out everything for debugging purpose.
-h
Display help
Cotton prints out help information.
-i
Insecure mode
Insecure mode will disable certificate verification.
-p
Paranoid mode
Paranoid mode is detailed verbose logging execution. Cotton prints out very detailed information for further debugging purpose.
-r
Reporter type
Since 1.1.0
Set reporter type. Default is no reporter.
ctrf
for Common Test Result Format reporter.html
for HTML Test Result Format reporter.
-s
Panic mode
Cotton will terminate immidiately if a test failed.
-v
Version
Cotton prints out application version.