testcentercmd

testcentercmd

Usage:

testcentercmd [<options>] <command> [<args>]

<command> can be:

  • help - show complete usage instructions
  • upload - upload Squish test results into a Test Center project
  • add - add labels and attachments to existing results
  • config - add or remove authentication tokens
  • discover - list testcenter instances found by SDDP
  • delete - delete test results from a Test Center project
  • rename - rename a batch
  • integration - use a 3rd party integration package to push/pull test results

Common Usage:

testcentercmd upload <project> [options] <resultfile>+

Uploads results from specified file(s) into the Test Center project.

The upload command requires the following options:

  • An upload token or the email address and password of a Test Center user with upload privileges.
  • Project name that identifies tests of the same software, project, or module.
  • Path to the test result file or the result directory.

The following are optional:

  • URL of the server instance, the default being http://localhost:8800.
  • One or more labels to filter the test results of the same project, the default being none.
  • Name of a batch instead of a generated name

Example usage:

$ testcentercmd --url=http://localhost:8800 --token=MyToken upload Myproject
/path/to/results.zip --label=version=1.0.0 --label=OS=Linux --batch=MyBatch

While it is recommended to use an upload token, you can also authenticate with email address and password using the command arguments --user=user@company.com and --password=password. If you omit the --password argument, you are prompted for your account password upon entering this command.

Use the command line argument --json=yes to get additional upload information like the IMPORT_ID, which is required for uploading attachments.

To see the full list of testcentercmd options, enter testcentercmd --help in a command shell.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

Search Results