Type error when using Codeception 5th version
还没有人认领这个 Issue。
评估
调研方向
从 SpecifyTest::run() 开始,跟踪 Codeception 5 通过 TestCaseWrapper 的执行路径,并比较 TestResult 在版本 4 中是如何获取的。复现文档中记载的开箱即用的 Specify 设置,并在 TypeError 不再发生时验证执行完成。
由索引模型根据 Issue 内容生成。
描述
More information:
If you uses specify out of box (as described in github page), it will throw an TypeError: Codeception\Specify\SpecifyTest::run(): Return value must be of type PHPUnit\Framework\TestResult, null returned
I have looked in and noticed that TestResult object was got from TestCase object. That how it works in 4th version. And codeception runs test using TestCase::run method. But in 5th version it uses TestCaseWrapper. That's why there is not TestResult object in TestCase to give it in Specify
Codeception has default configurations (just after codecept bootstrap)
- 主要语言
- PHP
- 星标
- 158
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeception/Specify 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
Codeception/Specify#63 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Codeception/Specify#61 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
Codeception/Specify#53 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Codeception/Specify#10 · 2 条评论 · 1 个 reaction ·
查看 Codeception/Specify 的全部 Issue
相似的 Issue
-
a11y admissions.uiowa.edu needs grooming SiteImprove best practice
难度 2/5 1-3 小时 新手友好度 70/100
-
Save States Menu 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/100
pluginsGLPI/datainjection#673 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
octobercms/october#6130 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
getgrav/grav-plugin-form#656 ·