Codeception / Codeception/AspectMock
verifyNeverInvoked retuns false positive results
- Lenguaje dominante
- PHP
- Estrellas
- 784
- Forks
- 132
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- testing
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100