简体   繁体   English

运行Codecept时出错

[英]Error when Running Codecept

I am trying to run a test and when I use the codecept command I get this error. 我正在尝试运行测试,当我使用codecept命令时,出现此错误。 Does anyone know how to resolve this issue? 有谁知道如何解决这个问题?

Error : Internal script failure 错误内部脚本失败

codecept run tests/acceptance/RequestCept.php --steps
==== Redirecting to Composer-installed version in vendor/codeception 
====
<br />
<b>Error</b>: <font color="FF0000"><b>Internal script failure</b><br />

It turns out that a needed file was missing. 原来,缺少所需的文件。 (It exists on the guest file, but not on the host file) (它在来宾文件上存在,但在主机文件上不存在)

Issue Resolved 问题解决了

Did you try adding --debug (or -d ) to show the scenario debug? 您是否尝试添加--debug (或-d )来显示场景调试?

Also, can you put some code helping us finding where the failure could be in your script? 另外,您可以放置​​一些代码来帮助我们查找脚本中失败的位置吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM