Codeception / Codeception/AspectMock
verifyNeverInvoked retuns false positive results
- 主要言語
- 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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with the verifyNeverInvoked entry point and reproduce the shown call using the same arguments. Trace how prior invocations are compared; done means an earlier identical call to myCalledMethod is reported as a failure rather than passing.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100