Download the PHP package stephenjude/api-test-helper without Composer
On this page you can find all versions of the php package stephenjude/api-test-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download stephenjude/api-test-helper
More information about stephenjude/api-test-helper
Files in stephenjude/api-test-helper
Download stephenjude/api-test-helper
More information about stephenjude/api-test-helper
Files in stephenjude/api-test-helper
Vendor stephenjude
Package api-test-helper
Short Description A collection of helper methods for testing and debugging API endpoints
License MIT
Homepage https://github.com/stephenjude/api-test-helper
Package api-test-helper
Short Description A collection of helper methods for testing and debugging API endpoints
License MIT
Homepage https://github.com/stephenjude/api-test-helper
Keywords stephenjudeapi-test-helper
Please rate this library. Is it a good library?
Informations about the package api-test-helper
Laravel API Test Helpers
This is a collection of helper methods for testing and debugging API endpoints.
Installation
You can install the package via composer:
Usage
Available Helper Methods
Method | Description |
---|---|
decodeApiResponse() |
Returns a decoded api response data. |
dumpApiData() |
Dump api response data to the console. |
logApiData() |
Write api response data to the log file. |
assertApiSuccess() |
Assert api response data is successful: [success => true]. |
assertApiResponse($actualData) |
Assert api response data is same actual data item. |
assertApiResponseCollection($actualData) |
Assert api response data is same actual collection items. |
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Stephen Jude
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of api-test-helper with dependencies
PHP Build Version
Package Version
The package stephenjude/api-test-helper contains the following files
Loading the files please wait ....