phoenixrvd / phpunit-data-provider-yaml
Allow to use YAML, JSON or PHP files to storing a data for PHP-Unit-DataProviders
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/phoenixrvd/phpunit-data-provider-yaml
Requires
- php: ^7.3|^7.2|^7.1|^5.6
- phpunit/phpunit: ^8|^7|^6|^5
- symfony/yaml: ^5|^4|^3|^2
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
README
Magic helper to autoload YAML, JSON or PHP files for data providers in PHPUnit.
Installation
Install the latest version with
composer require --dev phoenixrvd/phpunit-data-provider-yaml
How to use
See Example implementation.
Testing
composer phpunit_data_provider_yaml:test
Copyright and license
Code released under the MIT License.