Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

...

  • Use the soatestcli utility, with appropriate options, to launch analysis in the command-line mode. A complete list of options is provided in CLI Options. Key options are:
    • -data: Specifies the Eclipse workspace location. If the -data option is not used, then the default workspace found under <SOATEST_WORKSPACE>\parasoft\workspace (where "SOATEST_WORKSPACE" could be C:\Users\

      yourname

      <USERNAME>) will be used.

    • -config: Specifies the Test Configuration you want to run.
    • -resource: Specifies the test suite(s) to run. To run a single test suite, specify the path to test-suite-name.tst relative to the workspace. To run multiple test suites, use multiple -resource parameters in the order in which you want the tests run. To run all test suites within a directory, specify the directory path relative to the workspace.
    • -publish: Publishes test results to DTP.
    • -report: Specifies the location of the test execution report.
    • -settings: Specifies a .properties file that contains advanced configuration settings. Options are described in Local Settings Files - Options.

...

soatestcli.exe -config "user://Example Configuration"

  • Runs all tests in the default workspace (

    for standalone installations,

    usually C:\

    Documents and Settings

    Users\<USERNAME>\

    soatest

    parasoft\workspace) with the user-defined Test Configuration named "Example Configuration."

Note
titleNote

A user-defined configuration is local to the specified workspace and the configuration. "Example Configuration" is automatically created and set to be the default configuration by SOAtest when the workspace is first created.

...

  • Runs all tests in the 'tests' project folder of the default workspace , and saves the report at C:\reports\Report1. The project 'tests' must have already been imported into the workspace.

...