Codeception / Codeception/AspectMock

verifyNeverInvoked retuns false positive results

未关闭
#165 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
784
派生
132
PR 合并指标
30 天内没有已合并 PR

描述

When I use this method in this way
```
$WS->verifyNeverInvoked('callFactory', ['0', 'myCalledMethod', [
'firstid' => 123,
'secondId' => 123,
'thirdId' => 124567,
'data' => [
'value' => 456
],
]]);
```
The test appeares as OK (green tick) even if the method «myCalledMethod» was called before with the same arguments

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 verifyNeverInvoked 入口点开始,使用相同的参数重现所示调用。跟踪之前的调用是如何进行比较的;完成的标准是,之前对 myCalledMethod 的相同调用被报告为失败,而不是通过。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。