| Package Data | |
|---|---|
| Maintainer Username: | Fuzzpro |
| Maintainer Contact: | fuzzweb@fuzzproductions.com (Fuzz Productions) |
| Package Create Date: | 2016-07-07 |
| Package Last Update: | 2016-12-09 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-18 15:03:41 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,845 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 24 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A suite of helper methods to test REST APIs.
Fuzz\RestTests\BaseRestTestCase
setUp and tearDown as needed. The tests for this package are a good example of how to use it.
orchestra/testbench so all available functionality is present in rest-tester
Fuzz\RestTests\BaseRestTestCase provides some helper methods to configure tests for a RESTful APIFuzz\RestTests\Resources\RestfulResource provides helper methods to test endpoints for restful resourcesFuzz\RestTests\Resources\TestResourceX (where X is the resource action) traits depending on which actions need to be testedFuzz\RestTests\AuthTraits\OAuthTrait provides methods to authenticate, refresh tokens, retrieve tokens from request objects, create users/clients with scopes, etc.Run phpunit after composer install.