php-http/client-integration-tests

HTTP Client integration tests

v2.0.0 2018-11-03 12:16 UTC

README

Latest Version Software License Total Downloads

HTTP Client integration tests.

Install

Via Composer

$ composer require php-http/client-integration-tests

Usage

This package should not be used on its own. It provides integration tests for HTTP Clients.

Running tests for HTTP Adapters

Start the HTTP Test server:

$ vendor/bin/http_test_server

Install an adapter.

$ composer require php-http/curl-client:dev-master zendframework/zend-diactoros

Run the tests.

./vendor/bin/phpunit --testsuite curl --printer "Http\Client\Tests\ResultPrinter"

Contributing

Please see our contributing guide.

Security

If you discover any security related issues, please contact us at security@php-http.org.

License

The MIT License (MIT). Please see License File for more information.