https://github.com/php-http/client-integration-tests
HTTP client integration tests
https://github.com/php-http/client-integration-tests
Last synced: 9 months ago
JSON representation
HTTP client integration tests
- Host: GitHub
- URL: https://github.com/php-http/client-integration-tests
- Owner: php-http
- License: mit
- Created: 2015-04-25T15:58:23.000Z (over 10 years ago)
- Default Branch: 3.x
- Last Pushed: 2024-03-05T12:59:09.000Z (almost 2 years ago)
- Last Synced: 2024-03-25T20:00:37.736Z (almost 2 years ago)
- Language: PHP
- Homepage: http://httplug.io
- Size: 121 KB
- Stars: 15
- Watchers: 8
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP Client integration tests
[](https://github.com/php-http/client-integration-tests/releases)
[](LICENSE)
[](https://packagist.org/packages/php-http/client-integration-tests)
**HTTP Client integration tests.**
## Install
Via Composer
```bash
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:
```bash
vendor/bin/http_test_server
```
Install an adapter.
```bash
composer require php-http/curl-client laminas/laminas-diactoros
```
Run the tests.
```bash
./vendor/bin/phpunit --testsuite curl --printer "Http\Client\Tests\ResultPrinter"
```
## Contributing
Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).
## Security
If you discover any security related issues, please contact us at [security@php-http.org](mailto:security@php-http.org).
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.