Codeception / Codeception/MockeryModule

unsatisfied expectation terminates suite

Offen
#14 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
34
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.