codeception/assert-throws
Assert that a callable throws the expected exception without try/catch boilerplate. codeception/assert-throws adds assertThrows and assertDoesNotThrow helpers for Codeception and PHPUnit tests, with clear failure messages and optional checks on exception class and message.
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 |
None
How can I help you explore Laravel packages today?