https://github.com/leocaseiro/phpunitexamples
Some Examples of how to use PHPUnit with PHP 7.x
https://github.com/leocaseiro/phpunitexamples
Last synced: 2 months ago
JSON representation
Some Examples of how to use PHPUnit with PHP 7.x
- Host: GitHub
- URL: https://github.com/leocaseiro/phpunitexamples
- Owner: leocaseiro
- Created: 2022-05-15T11:24:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-15T11:26:09.000Z (almost 3 years ago)
- Last Synced: 2025-01-07T19:21:26.747Z (4 months ago)
- Language: PHP
- Size: 668 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Some Examples of using PHPUnit with PHP 7.x and strict types
## Install PHPUnit
```bash
curl -LO https://phar.phpunit.de/phpunit-9.5.phar
``````bash
php phpunit-9.5.phar --version
```## Make PHAR executable
```bash
chmod +x phpunit-9.5.phar
```### So you can use like so:
```bash
./phpunit-9.5.phar --version
```## Running all tests:
```bash
php phpunit-9.5.phar ./tests
```