https://github.com/fabiothiroki/php-reflection-test
A simple example of unit tests using reflection
https://github.com/fabiothiroki/php-reflection-test
php reflection test testing tests
Last synced: about 1 month ago
JSON representation
A simple example of unit tests using reflection
- Host: GitHub
- URL: https://github.com/fabiothiroki/php-reflection-test
- Owner: fabiothiroki
- License: mit
- Created: 2021-09-08T19:47:54.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-25T15:37:54.000Z (almost 5 years ago)
- Last Synced: 2023-03-22T14:27:04.489Z (over 3 years ago)
- Topics: php, reflection, test, testing, tests
- Language: PHP
- Homepage: https://dev.to/fabiothiroki/improve-your-php-code-testability-1onb
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-reflection-test
[](https://github.com/fabiothiroki/php-reflection-test/actions/workflows/php.yml)
[](https://coveralls.io/github/fabiothiroki/php-reflection-test?branch=main)
Code example demonstrating how to use reflection to improve testability. Tutorial [here](https://dev.to/fabiothiroki/improve-your-php-code-testability-1onb).
## Setup
### Install dependencies
```
composer install
```
### Run tests
```
composer test
```