Download the PHP package sayuprc/http-test-case without Composer
On this page you can find all versions of the php package sayuprc/http-test-case. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package http-test-case
English | 日本語
sayuprc/http-test-case
A library for HTTP testing.
Requirements
name | version |
---|---|
PHP | ^8.3 |
PHPUnit | ^12.0 |
Installation
Usage
Extend the HttpTestCase
class and implement the following methods:
getClient()
getRequestFactory()
getUriFactory()
getStreamFactory()
Testing a GET Request
Testing a POST Request
Documents
Please refer to the here for the methods and assertions of HttpTestCase.
All versions of http-test-case with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
phpunit/phpunit Version ^11.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
phpunit/phpunit Version ^11.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
The package sayuprc/http-test-case contains the following files
Loading the files please wait ....