Codeception / Codeception/MockeryModule

unsatisfied expectation terminates suite

Open
#14 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
34
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.