Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phoenixrvd/phpunit-data-provider-yaml
Magic helper to autoload YAML, JSON or PHP files for data providers in PHPUnit.
https://github.com/phoenixrvd/phpunit-data-provider-yaml
clean-code composer-package mit-license php php-library php56 php71 php72 php73 phpunit phpunit-extension
Last synced: about 2 months ago
JSON representation
Magic helper to autoload YAML, JSON or PHP files for data providers in PHPUnit.
- Host: GitHub
- URL: https://github.com/phoenixrvd/phpunit-data-provider-yaml
- Owner: phoenixrvd
- License: mit
- Created: 2018-08-12T10:36:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T20:04:36.000Z (almost 5 years ago)
- Last Synced: 2024-10-13T08:41:23.438Z (3 months ago)
- Topics: clean-code, composer-package, mit-license, php, php-library, php56, php71, php72, php73, phpunit, phpunit-extension
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHPUnit - data providers
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg)](https://php.net/)
[![Latest Stable Version](https://poser.pugx.org/phoenixrvd/phpunit-data-provider-yaml/v/stable.svg)](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)
[![composer.lock](https://poser.pugx.org/phoenixrvd/phpunit-data-provider-yaml/composerlock)](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)
[![License](https://poser.pugx.org/phoenixrvd/phpunit-data-provider-yaml/license)](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)[![Build Status](https://travis-ci.org/phoenixrvd/phpunit-data-provider-yaml.png?branch=master)](https://travis-ci.org/phoenixrvd/phpunit-data-provider-yaml)
[![Code Climate](https://codeclimate.com/github/phoenixrvd/phpunit-data-provider-yaml.png)](https://codeclimate.com/github/phoenixrvd/phpunit-data-provider-yaml)
[![StyleCI](https://styleci.io/repos/102899359/shield?branch=master)](https://styleci.io/repos/102899359)
[![Test Coverage](https://codeclimate.com/github/phoenixrvd/phpunit-data-provider-yaml/badges/coverage.svg)](https://codeclimate.com/github/phoenixrvd/phpunit-data-provider-yaml/coverage)
[![Latest Unstable Version](https://poser.pugx.org/phoenixrvd/phpunit-data-provider-yaml/v/unstable.svg)](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)- [Installation](#installation)
- [How to use](#how-to-use)
- [Testing](#testing)
- [Copyright and license](#copyright-and-license)Magic helper to autoload YAML, JSON or PHP files for [data providers](https://phpunit.readthedocs.io/en/7.1/writing-tests-for-phpunit.html#data-providers) in [PHPUnit](https://phpunit.de/index.html).
## InstallationInstall the latest version with
```bash
composer require --dev phoenixrvd/phpunit-data-provider-yaml
```## How to use
See [Example](./tests/ExampleTest.php) implementation.
## Testing
```bash
composer phpunit_data_provider_yaml:test
```## Copyright and license
Code released under the [MIT License](LICENSE).