gpt4 book ai didi

codeception - 无法找到并加载模块 WebHelper

转载 作者:行者123 更新时间:2023-12-02 09:31:26 24 4
gpt4 key购买 nike

我刚开始学习代码接收,一开始就遇到了麻烦。
当我运行 ./vendor/bin/codecept build ,我得到了这个异常(exception):

Module WebHelper could not be found and loaded



我的acceptance.suite.yml 看起来像这样
class_name: AcceptanceTester
modules:
enabled:
- PhpBrowser
- WebHelper
config:
PhpBrowser:
url: 'http://test-6.local/'

最佳答案

助手类是动态生成的,没有标准名称。
试试\Helper\Acceptance (Codeception 2.1 中接受助手的默认名称)
和 AcceptanceHelper(在 2.0 中使用),
如果两者都不起作用,请查看 tests/_support 目录并复制帮助程序类的完整名称。

关于codeception - 无法找到并加载模块 WebHelper,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32769128/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com