-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.4.1
On Android and iOS there isn't any clear way to pass command line parameters to Qt Quick Test runner application.
Especially the logging option "xunitxml" would be needed.
Usage: QuickTest [options] [testfunction[:testdata]]...
By default, all testfunctions will be run.
New-style logging options:
-o filename,format : Output results to file in the specified format
Use - to output to stdout
Valid formats are:
txt : Plain text
csv : CSV format (suitable for benchmarks)
xunitxml : XML XUnit document
xml : XML document
lightxml : A stream of XML tags
*** Multiple loggers can be specified, but at most one can log to stdout.
Old-style logging options:
-o filename : Write the output into file
-txt : Output results in Plain Text
-csv : Output results in a CSV format (suitable for benchmarks)
-xunitxml : Output results as XML XUnit document
-xml : Output results as XML document
-lightxml : Output results as stream of XML tags
*** If no output file is specified, stdout is assumed.
*** If no output format is specified, -txt is assumed.
Test log detail options:
-silent : Log failures and fatal errors only
-v1 : Log the start of each testfunction
-v2 : Log each QVERIFY/QCOMPARE/QTEST (implies -v1)
-vs : Log every signal emission and resulting slot invocations
*** The -silent and -v1 options only affect plain text output.
Testing options:
-functions : Returns a list of current testfunctions
-datatags : Returns a list of current data tags.
A global data tag is preceded by ' __global__ '.
-eventdelay ms : Set default delay for mouse and keyboard simulation to ms milliseconds
-keydelay ms : Set default delay for keyboard simulation to ms milliseconds
-mousedelay ms : Set default delay for mouse simulation to ms milliseconds
-maxwarnings n : Sets the maximum amount of messages to output.
0 means unlimited, default: 2000
-nocrashhandler : Disables the crash handler
Benchmarking options:
-callgrind : Use callgrind to time benchmarks
-tickcounter : Use CPU tick counters to time benchmarks
-eventcounter : Counts events received during benchmarks
-minimumvalue n : Sets the minimum acceptable measurement value
-minimumtotal n : Sets the minimum acceptable total for repeated executions of a test function
-iterations n : Sets the number of accumulation iterations.
-median n : Sets the number of median iterations.
-vb : Print out verbose benchmarking information.
QmlTest options:
-import dir : Specify an import directory.
-input dir/file : Specify the root directory for test cases or a single test case file.
-qtquick1 : Run with QtQuick 1 rather than QtQuick 2.
-translation file : Specify the translation file.
-help : This help
- relates to
-
QTBUG-45576 [Android] Qt Quick Test not finding test files
-
- Closed
-