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 run tests in parallel with PHPUnit?
- How to show warnings in PHPUnit?
- How to stop PHPUnit on failure?
- How to skip a PHPUnit test?
- What are PHPUnit required extensions
- How to order tests with PHPUnit?
- How to mock a private method in PHPUnit?
- How to use PHPUnit assertequalscanonicalizing?
- How to mock a query builder with PHPUnit?
- How to assert that key exists in an array using PHPUnit?
See more codes...