A set of helpful assertions when testing Laravel applications.
Published by jasonmccreary 8 months ago
Published by jasonmccreary over 1 year ago
Published by jasonmccreary over 1 year ago
Published by jasonmccreary over 2 years ago
excluded_middleware
into account for middleware assertions (#38)Published by jasonmccreary over 2 years ago
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.
Published by jasonmccreary over 3 years ago
assertJsonTypedStructure
to verify data type of values (#19)assertRouteUsesMiddleware
assertion (#23)assertNotSoftDeleted
assertion (#28)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
.
Published by jasonmccreary over 4 years ago
Published by jasonmccreary over 4 years ago
Published by jasonmccreary over 4 years ago
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
Published by jasonmccreary almost 5 years ago
Adds assertActionUsesMiddleware
to verify a controller action is using a middleware or set of middleware.
Published by jasonmccreary almost 5 years ago
Add custom Mockery argument matchers for common Laravel types including models, collections, and Eloquent collections.
Published by jasonmccreary over 5 years ago