比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

java.arg=-Dhttps.proxyHost=${proxy.host}
java.arg=-Dhttps.proxyPort=${proxy.port}

アンカー
_Toc524108153
_Toc524108153
DTP Standard の接続設定

1.<JTEST_HOME>/jtestcli.propertiesファイルを開きます。

2.次の設定を変更します。

変更前)
"dtp.xxx" の行のコメントアウト(#)をはずし、Parasoft DTP への接続情報を入力します。

# === DTP SERVER SETTINGS ===

# Specifies host name of the DTP server.
#dtp.server=localhost

# Specifies port number of the DTP server.
# Commonly used values are 443 and 8443.
#dtp.port=8443

# Specifies user name for DTP server authentication.
#dtp.user=admin

# Specifies password for DTP server authentication - use jtestcli -encodepass <PASSWORD> to encode the password, if needed.
#dtp.password=admin

# Specifies name of the DTP project - this settings is optional.
#dtp.project=[DTP Project Name]

...

変更後)

# === DTP SERVER SETTINGS ===

# Specifies host name of the DTP server.
dtp.server=localhost

# Specifies port number of the DTP server.
# Commonly used values are 443 and 8443.
dtp.port=8443

# Specifies user name for DTP server authentication.
dtp.user=admin

# Specifies password for DTP server authentication - use jtestcli -encodepass <PASSWORD> to encode the password, if needed.
dtp.password=admin

# Specifies name of the DTP project - this settings is optional.
dtp.project=Sample (DTP Standard に作成済みのプロジェクト名)

...

解析結果を DTP Standard にパブリッシュするには解析コマンドに「-Djtest.publish=true」を追加します。

demo>mvn jtest:jtest -Djtest.config="builtin://Critical Rules"
demo>ant -f jtest.xml jtest-sae -Djtest.publish=true

コンソールに以下の情報が出力されていればパブリッシュが成功しています。

...