File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# AssertThrows
22
3- Handle exceptions inside a test without a stop! Works with PHPUnit and Codeception.
3+ Handle exceptions inside a test without a stop! Works with ** PHPUnit** and Codeception.
44
5- ![ Build Status] ( https://github.com/Codeception/AssertThrows/workflows/CI/badge.svg )
5+ [ ![ Actions Status] ( https://github.com/Codeception/AssertThrows/workflows/CI/badge.svg )] ( https://github.com/Codeception/AssertThrows/actions )
6+ [ ![ Latest Stable Version] ( https://poser.pugx.org/codeception/Assert-Throws/v/stable )] ( https://github.com/Codeception/AssertThrows/releases )
7+ [ ![ Total Downloads] ( https://poser.pugx.org/codeception/Assert-Throws/downloads )] ( https://packagist.org/packages/codeception/Assert-Throws )
8+ [ ![ License] ( https://poser.pugx.org/codeception/Assert-Throws/license )] ( /LICENSE )
69
710## Installation
811
912```
10- composer require codeception/assert-throws --dev
13+ composer require " codeception/assert-throws" --dev
1114```
1215
1316Include ` AssertThrows ` trait it to a TestCase:
@@ -57,4 +60,8 @@ $this->assertThrowsWithMessage(
5760);
5861```
5962
60- ### License MIT
63+ ## License
64+
65+ ` Codeception AssertThrows ` is open-sourced software licensed under the [ MIT] ( /LICENSE ) License.
66+
67+ © Codeception PHP Testing Framework
You can’t perform that action at this time.
0 commit comments