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: 3 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T20:04:36.000Z (over 5 years ago)
- Last Synced: 2025-01-18T22:46:57.064Z (5 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
[](https://php.net/)
[](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)
[](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)
[](https://packagist.org/packages/phoenixrvd/phpunit-data-provider-yaml)[](https://travis-ci.org/phoenixrvd/phpunit-data-provider-yaml)
[](https://codeclimate.com/github/phoenixrvd/phpunit-data-provider-yaml)
[](https://styleci.io/repos/102899359)
[](https://codeclimate.com/github/phoenixrvd/phpunit-data-provider-yaml/coverage)
[](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).