Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How do I use Jtest Configurations with jtestcli?

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in Jtest
Typically, jtestcli invocations follow this pattern:
  • Windows: jtestcli.exe -data %WORKSPACE_DIR% -resource resource_to_test | property_file -config %CONFIG_URL% -report %REPORT_FILE%
  • UNIX: jtestcli -data %WORKSPACE_DIR% -resource resource_to_test | property_file -config %CONFIG_URL% -report %REPORT_FILE%
    [/list]
    -config %CONFIG_URL% specifies that you want to run the Jtest Configuration available at %CONFIG_URL% .

    %CONFIG_URL% is interpreted as a URL, the name of a Jtest Configuration, or the path to a local file.

    Examples:
    • By filename:
      -config "mylocalconfig.properties"
    • By URL:
      -config "http://intranet.acme.com/jtest/team_config.properties"
    • Builtin configurations:
      -config "builtin://Default Configuration"
      -config "Default Configuration"
    • User-defined configurations:
      -config "user://My First Configuration"
    • Team configurations:
      -config "team://Team Configuration"
      -config "team://teamconfig.properties"