jasonmccreary/laravel-test-assertions
Adds a trait of extra PHPUnit assertions for Laravel testing. Confirm controllers/actions and named routes use specific FormRequest validation or middleware, compare validation rules (subset or exact), check rule instances, and assert view data is explicitly null.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| imanghafoori/laravel-makesure | 0.88 | — | 21 | 21 | 3 | 43 | 1 | 1.0 | 6.5 | MIT | 2 years ago | |
| lastdragon-ru/lara-asp-testing | 0.87 | Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. | 0 | 0 | 0 | 75 | 0 | 0.0 | 26.0 | MIT | — | |
| phpunit/phpunit-dom-assertions | 0.87 | Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. | 29 | — | 13 | — | 1 | 6.3 | — | NOASSERTION | 8 months ago |
|
| illuminated/testing-tools | 0.86 | A collection of practical testing utilities for Laravel applications, offering helpful assertions and shortcuts that make feature and unit tests cleaner, faster to write, and easier to maintain. Ideal for teams wanting more expressive test coverage with less boilerplate. | 54 | 54 | 7 | 587 | 0 | 19.2 | 17.2 | MIT | 4 weeks ago | |
| omnicode/lara-test | 0.86 | Omnicode Lara-Test is a Laravel testing package that provides helpers and utilities to streamline PHPUnit/Pest test setup, everyday assertions, and common testing workflows for Laravel applications. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| sven/laravel-testing-utils | 0.86 | Practical testing helpers for Laravel applications, including cleaner assertions, setup shortcuts, and conveniences for HTTP, database, and mocking workflows. Designed to keep PHPUnit and Pest suites readable, consistent, and fast without extra boilerplate. | 21 | 24 | 1 | 12 | 1 | 0.1 | 1.8 | MIT | 6 years ago | |
| testo/inline | 0.86 | Inline test plugin for Testo: mark methods as tests via PHP attributes, without separate test classes. Ideal for quick checks near production code and self-documenting examples. Install with composer require --dev testo/inline. | 0 | 0 | 0 | 16K | 0 | 0.0 | 55.3 | — | — | |
| hughsaffar/laravel-test-trap | 0.86 | Laravel Test Trap is a focused testing helper for Laravel that adds guardrails to your suite, helping catch unintended behavior before it reaches CI. It keeps tests safer and more predictable with minimal setup, making it a useful addition for teams tightening test reliability. | 18 | — | 1 | — | 0 | 0.5 | — | MIT | 3 years ago | |
| k2gl/phpunit-fluent-assertions | 0.86 | A PHPUnit extension that adds fluent, chainable assertions to your tests, making expectations more readable and expressive while reducing verbose assertion code and keeping familiar PHPUnit workflows. | 2 | 2 | 0 | 586 | 0 | 17.3 | 36.4 | MIT | 1 month ago | |
| adroit11/laravel-tests | 0.86 | Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| marcin-orlowski/phpunit-extra-asserts | 0.86 | A collection of extra assertions for PHPUnit that helps make test suites more expressive and readable. Add clearer, reusable checks for common test scenarios, reduce custom assertion code, and get more informative failures in PHPUnit-based projects. | 3 | 3 | 0 | 623 | 0 | 0.0 | 30.3 | MIT | 2 years ago | |
| codeception/lib-asserts | 0.86 | Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. | 105 | 105 | 5 | 2M | 1 | 12.3 | 58.0 | MIT | 9 months ago | |
| fr3d/swagger-assertions | 0.86 | Laravel testing package adding PHPUnit assertions that validate API responses against your Swagger/OpenAPI definitions. Use it in feature tests to check status codes, schemas, and response structures, keeping documentation and endpoints in sync and catching contract drift early. | 137 | 139 | 27 | 2K | 4 | 2.8 | 17.5 | NOASSERTION | 5 years ago | |
| sixlive/laravel-json-schema-assertions | 0.86 | Validate JSON responses and payloads against JSON Schema definitions in your Laravel tests. Adds expressive assertions like assertJsonSchema so you can verify API structure and contracts with minimal setup. | 71 | 72 | 13 | 580 | 0 | 1.0 | 13.2 | MIT | 1 year ago | |
| draw/tester | 0.86 | Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.0 | MIT | — | |
| testo/assert | 0.86 | Assertion plugin for the Testo PHP testing framework. Adds a fluent assert/expect facade, expectation lifecycle, and helpers for matching thrown exceptions. Reports comparisons through Testo’s standard pipeline. Install via Composer: testo/assert. | 0 | 0 | 0 | 16K | 0 | 0.0 | 55.3 | — | — | |
| codenco-dev/eloquent-model-tester | 0.86 | Test Eloquent models in Laravel with codenco-dev/eloquent-model-tester. It verifies database table structures, relationships, fillable and guarded fields, and more using factories and the simple HasModelTester trait, helping you catch model issues early with less boilerplate in your test suite. | 20 | 20 | 1 | 306 | 2 | 16.0 | 17.9 | MIT | 5 months ago | |
| myqee/test | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| helmich/phpunit-json-assert | 0.85 | Adds concise JSON assertions to PHPUnit using JSONPath expressions and JSON Schema validation. Use the JsonAssertions trait to verify complex JSON/data structures with readable assert* helpers. Install via Composer and choose the branch matching your PHPUnit/PHP version. | 130 | 130 | 27 | 92K | 3 | 10.8 | 42.3 | MIT | 8 months ago | |
| atournayre/assert | 0.85 | — | 0 | 0 | 0 | 13 | 1 | 1.3 | 15.8 | MIT | 3 years ago |
How can I help you explore Laravel packages today?