本页内容

查看 Squish 输出

使用“Squish ”视图查看测试、运行器和服务器日志。

Squish 使用比较、验证和异常处理功能,将对正在运行的被测应用程序(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 服务器”“创建 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.