Versions Compared

Key

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

...

Info
title重要

soatestcliを使用するには、コマンドライン ライセンスが必要です。このライセンスは SOAtest Automation Edition で提供されています。

コマンドラインからのテスト スイートの実行

この演習では、コマンドラインから examples ディレクトリの SOAtestTutorial.tst を実行します。    

...

例:
soatestcli.exe -config “user://Example Configuration” -resource “user://Examples/SOAtestTutorial.tst” -report MySampleReport

ワークスペースの全プロジェクトの実行

ワークスペース中のすべてのプロジェクトを実行するには、 -data オプションを使用します。

...

 –report オプションは、 HTML レポートを生成します。

ワークスペース中の 1 つのプロジェクトの実行

ワークスペース中の 1 つのプロジェクトを実行するには、 -resource オプションを使ってテスト対象のプロジェクトを指定する必要があります。

...

 -exclude オプションは、テストから除外するファイルを指定します。

localsettings ファイルの使用

ローカル設定ファイルは、レポート、Report Center、エラーの作成者、および Team Server の設定をコントロールすることができます。プロジェクトごとに異なるローカル設定ファイルを作成して、 -localsettings オプションを使ってコマンドライン テストで使用するファイルを指定できます。

...

Code Block
concerto.reporting=true
dtp.server=dtp.server.com
dtp.port=32323
report.dtp.publish=true
concerto.log_as_nightly=true
report.mail.enabled=true
report.mail.server=smtp.server.com
report.mail.domain=server.com
report.mail.subject=My Nightly Tests
[email protected]
report.mail.exclude.developers=false
scope.sourcecontrol=true
scope.local=false
soatest.license.use_network=true
soatest.license.network.host=ls.server.com
soatest.license.network.port=2002
soatest.license.network.edition=server_edition

コマンドラインからの回帰テストへの環境構成の適用
Anchor
Applying an Environment Configuration to a Regression Test from the Command Line
Applying an Environment Configuration to a Regression Test from the Command Line

環境の最大の利点として、SOAtest GUI を開いてホストや URL の設定を変更する必要なく、コマンドラインから同じ回帰スイートを再実行できることがあります。

...