このページでは

Squish

Squishでは、compare、verify、例外の各関数を使用して、実行中のテスト対象アプリケーション(AUT)に適用されたテストの結果を合格または不合格としてテストログに記録します。また、あらゆる種類のテスト結果をテストログに記録できます。

Squishテストログの表示

テストログを表示するには、Squish 出力のTest Results タブに移動します。

テスト結果出力

Result 列には、各テスト実行の開始時刻と終了時刻、ログ情報と警告、テスト結果のステータスが表示されます:

  • Pass - テストに合格しました。
  • Fail - テストは失敗しました。
  • ExpectedFail - テストが失敗しました。たとえば、AUT に既知のバグがあり、比較や検証に失敗した。
  • UnexpectedPass - テストが予期せず合格した。たとえば、失敗すると予想された比較や検証が成功した。

Message 列には、ログメッセージと実行された操作のタイプ(比較、検証、例外)に関する情報が表示されます。

Squishランナーおよびサーバーログの表示

Squishランナーおよびサーバーのログを表示するには、Squish 出力のRunner/Server Log タブに移動します。

ランナーとサーバーのログ出力

Squishビューツールバー

ビューツールバーのオプションを選択して、以下のアクションを実行します:

  • ビューをクリアするには、クリア (Clear) を選択します。
  • テスト結果またはログエントリ間を移動するには、次の項目 (Next Item) および前の項目 (Previous Item) を選択します。
  • テスト結果またはログエントリをフィルタするには、フィルターツリー (Filter Tree) を選択します。
  • テスト結果またはログエントリを展開または折りたたむには、すべてを拡大する (Expand All) またはすべてを折りたたむ (Collapse All) を選択します。

Squish Serverへの接続Squishテストスイートの作成プラグインの有効化と無効化Squishテストスイートとケースの管理Squish AUTの選択出力の表示も参照してください

Copyright © The Qt Company Ltd. and other contributors. 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.