Codeception / Codeception/MockeryModule

unsatisfied expectation terminates suite

Aperta
#14 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
34
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When mockery expectations fail, the currently running suite terminates because of exception thrown. I think the good solution would be to catch `Mockery\Exception\*` and fail the current test only.

Tell me how to fail the current test from the place where `Mockery::close()` is called and I'll prepare a pull request. `\Codeception\Module::fail()` terminates the suite completely?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.