MockeryModule icon indicating copy to clipboard operation
MockeryModule copied to clipboard

unsatisfied expectation terminates suite

Open northys opened this issue 7 years ago • 0 comments

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?

northys avatar May 18 '18 11:05 northys