codeception/assert-throws
Adds assertThrows-style assertions to Codeception, letting you easily verify exceptions in tests. Assert the exception type and optionally message/code when running a callable, making negative-path testing clearer and less verbose.
|
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?