Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/misantron/phpunit-guzzle-test-client

Guzzle test client helpers for PHPUnit
https://github.com/misantron/phpunit-guzzle-test-client

guzzle hacktoberfest phpunit tests

Last synced: about 1 month ago
JSON representation

Guzzle test client helpers for PHPUnit

Awesome Lists containing this project

README

        

# Guzzle test client helpers for PHPUnit

[![Build Status](https://img.shields.io/github/actions/workflow/status/misantron/phpunit-guzzle-test-client/build.yml?style=flat-square)](https://github.com/misantron/phpunit-guzzle-test-client/actions)
[![Code Coverage](https://img.shields.io/codecov/c/gh/misantron/phpunit-guzzle-test-client.svg?style=flat-square)](https://codecov.io/gh/misantron/phpunit-guzzle-test-client)
[![PHP Version](https://img.shields.io/packagist/php-v/misantron/phpunit-guzzle-test-client.svg?style=flat-square)](https://github.com/misantron/phpunit-guzzle-test-client)
[![Packagist](https://img.shields.io/packagist/v/misantron/phpunit-guzzle-test-client.svg?style=flat-square)](https://packagist.org/packages/misantron/phpunit-guzzle-test-client)

Collection of [PHPUnit](https://phpunit.de/) test helper traits created for testing services using [Guzzle](https://github.com/guzzle/guzzle) http client.

## Installation

The recommended way to install is through [Composer](https://getcomposer.org/).

```bash
composer require --dev misantron/phpunit-guzzle-test-client
```

## Supported versions

* [PHPUnit](https://phpunit.de/) test framework - 8 / 9 / 10
* [Guzzle](https://github.com/guzzle/guzzle) http client - 6 / 7

## Usage

To understand how to use helpers in your tests you can view [example tests](/examples).

## License

[The MIT License (MIT)](LICENSE)
Copyright © 2020-2023 Aleksandr Ivanov