【问题标题】:Tests failed when codecept run with report parameter使用报告参数运行 codecept 时测试失败
【发布时间】:2017-07-04 22:01:58
【问题描述】:

我安装了 yii2 基本模板项目。我没有更改源代码中的任何内容。当我通过codecept run 命令运行默认测试时,所有测试都通过了。当我使用参数--report 运行 codecept 时,提交登录和提交联系表单 cest 的功能测试失败。 有人遇到过这样的问题吗?

我的环境:Yii 2.0.12、PHP 7.1.2、Codeception 2.3.3

【问题讨论】:

    标签: yii2 codeception


    【解决方案1】:

    Codeception 似乎没有太多关于参数--report 的文档,但您似乎必须指定要使用的自定义报告器。否则,您可以使用--html、--xml 等进行分步报告

    http://codeception.com/docs/02-GettingStarted#Reports

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-04-05
      • 1970-01-01
      • 2013-06-25
      • 1970-01-01
      • 2020-12-12
      • 1970-01-01
      • 2015-10-01
      • 1970-01-01
      相关资源
      最近更新 更多