Download the PHP package matthiasnoback/behat-expect-exception without Composer
On this page you can find all versions of the php package matthiasnoback/behat-expect-exception. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package behat-expect-exception
Installation
Purpose
This library lets you run code in one step definition that is expected to thrown an exception, then in another step definition allows you to verify that the correct exception was caught. Just like with PHPUnit you can compare the type of the caught exception to the expected type, and you can check if the actual exception message contains a given string.
Usage example
Maintenance
- Run
composer installto install project dependencies (requires PHP 8.4 and Composer globally installed) - Run
composer fixto fix coding style - Run
composer testto run the tests
All versions of behat-expect-exception with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
The package matthiasnoback/behat-expect-exception contains the following files
Loading the files please wait ...