phpunitHow to check the version of PHPUnit?
To check the version of PHPUnit, you can use the --version
option.
Example
$ phpunit --version
PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
Code explanation
phpunit
: The command to run PHPUnit--version
: The option to check the version of PHPUnit
Helpful links
More of Phpunit
- How to skip a PHPUnit test?
- How to show warnings in PHPUnit?
- How to mock a method with different arguments in PHPUnit?
- What are PHPUnit required extensions
- How to run PHPUnit in quiet mode?
- How to run tests in parallel with PHPUnit?
- How to mock a property in PHPUnit?
- How to mock a static method with PHPUnit?
- How to check if a JSON contains a value in PHPUnit?
- How to mock a query builder with PHPUnit?
See more codes...