laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

Downloads
2.5M
Stars
317
Committers
14
laravel-test-assertions - v2.4.1 Latest Release

Published by jasonmccreary 5 months ago

laravel-test-assertions - 2.4.0

Published by jasonmccreary 8 months ago

Added

  • Add assertion to route group middleware in #44
  • Laravel 11 Compatibility in #46

Removed

  • Support for Laravel 9 in #46
  • Support for PHPUnit 9 in #46
laravel-test-assertions - 2.3.0

Published by jasonmccreary over 1 year ago

Added

Removed

  • Dropped support for Laravel 8 (77d1812dce4438c294e281acade9d52adf4ce0a0)
  • Dropped support for PHP 7 (77d1812dce4438c294e281acade9d52adf4ce0a0)
laravel-test-assertions - 2.2.0

Published by jasonmccreary over 1 year ago

Added

  • Support for Laravel 10 (#40)
laravel-test-assertions - 2.1.1

Published by jasonmccreary over 2 years ago

Fixed

  • Take excluded_middleware into account for middleware assertions (#38)
laravel-test-assertions - 2.1.0

Published by jasonmccreary over 2 years ago

Added

  • Support for PHP 8 and Laravel 9 (#36)
laravel-test-assertions - 2.0.0

Published by jasonmccreary about 3 years ago

This is a superficial major version release. It marks the adoption of a new Support Policy by dropping support for old versions of Laravel (currently 6.x, 7.x). There are no changes to functionality or underlying code other than requiring the latest stable version of Laravel (currently 8.x).

This also removes the assertNotSoftDeleted assertion in favor of using the native assertNotSoftDeleted added in Laravel 8.62. As the first parameter matches, no code changes are required.

laravel-test-assertions - 1.1.0

Published by jasonmccreary over 3 years ago

Added

  • assertJsonTypedStructure to verify data type of values (#19)
  • assertRouteUsesMiddleware assertion (#23)
  • assertNotSoftDeleted assertion (#28)
  • Create CHANGELOG (cbe01c6)
laravel-test-assertions - 1.0.0

Published by jasonmccreary over 4 years ago

This marks the 1.0 release as I finalized the trait naming.

Please note, if you were using this package before, you will need to rename all uses of the HttpTestAssertions trait to AdditionalAssertions.

laravel-test-assertions - 0.5.1

Published by jasonmccreary over 4 years ago

laravel-test-assertions - 0.5.0

Published by jasonmccreary over 4 years ago

laravel-test-assertions - 0.4.1

Published by jasonmccreary over 4 years ago

laravel-test-assertions - 0.4.0

Published by jasonmccreary over 4 years ago

Includes the following new assertions. Review the Assertions section of the README for documentation.

  • assertRouteUsesFormRequest
  • assertValidationRules
  • assertExactValidationRules
  • assertValidationRuleContains
laravel-test-assertions - 0.3.0

Published by jasonmccreary almost 5 years ago

Adds assertActionUsesMiddleware to verify a controller action is using a middleware or set of middleware.

laravel-test-assertions - v0.2.0

Published by jasonmccreary almost 5 years ago

Add custom Mockery argument matchers for common Laravel types including models, collections, and Eloquent collections.

laravel-test-assertions - 0.1.0

Published by jasonmccreary over 5 years ago

Package Rankings
Top 1.05% on Packagist.org