PHPackages                             lastdragon-ru/lara-asp-testing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. lastdragon-ru/lara-asp-testing

ActiveLibrary[Testing &amp; Quality](/categories/testing)

lastdragon-ru/lara-asp-testing
==============================

Provides various useful asserts for PHPUnit and better solution for HTTP tests - testing HTTP response has never been so easy!

10.3.0(2mo ago)021.7k11MITPHPPHP ^8.3|^8.4

Since Jan 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/LastDragon-ru/lara-asp-testing)[ Packagist](https://packagist.org/packages/lastdragon-ru/lara-asp-testing)[ Docs](https://github.com/LastDragon-ru/php-packages)[ RSS](/packages/lastdragon-ru-lara-asp-testing/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (50)Versions (84)Used By (11)

(Laravel) Testing Helpers 🐝
===========================

[](#laravel-testing-helpers-)

This package provides various useful asserts for [PHPUnit](https://phpunit.de/) and better solution for HTTP tests - testing HTTP response has never been so easy! And this not only about `TestResponse` but any PSR response 😎

Requirements
============

[](#requirements)

RequirementConstraintSupported byPHP`^8.5``HEAD``^8.4``HEAD ⋯ 8.0.0``^8.3``10.3.0 ⋯ 5.0.0``^8.2``7.2.0 ⋯ 2.0.0``^8.1``6.4.2 ⋯ 2.0.0``^8.0``4.6.0 ⋯ 2.0.0``^8.0.0``1.1.2 ⋯ 0.12.0``>=8.0.0``0.11.0 ⋯ 0.4.0``>=7.4.0``0.3.0 ⋯ 0.1.0`Laravel`^12.0.1``HEAD ⋯ 9.0.0``^11.0.8``8.1.1 ⋯ 8.0.0``^11.0.0``7.2.0 ⋯ 6.2.0``^10.34.0``7.2.0 ⋯ 6.2.0``^10.0.0``6.1.0 ⋯ 2.1.0``^9.21.0``5.6.0 ⋯ 5.0.0-beta.1``^9.0.0``5.0.0-beta.0 ⋯ 0.12.0``^8.22.1``3.0.0 ⋯ 0.2.0``^8.0``0.1.0`PHPUnit`^12.5.8``HEAD``^12.0.0``10.3.0 ⋯ 9.0.0``^11.3.0``10.3.0 ⋯ 10.1.0``^11.2.0``10.0.0``^11.1.0``9.3.1` , `9.3.0``^11.0.0``9.2.0 ⋯ 6.2.0``^10.5.0``8.1.1 ⋯ 8.0.0``^10.1.0``7.2.0 ⋯ 6.0.0`Installation
============

[](#installation)

Note

The package intended to use in dev.

```
composer require --dev lastdragon-ru/lara-asp-testing
```

Usage
=====

[](#usage)

Important

By default, package overrides scalar comparator to make it strict! So `assertEquals(true, 1)` is `false`.

In the general case, you just need to update `tests/TestCase.php` to include most important things, but you also can include only desired features, please see related traits and extensions below.

```
