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 show warnings in PHPUnit?
- How to stop PHPUnit on failure?
- How to skip a PHPUnit test?
- How to disable deprecation notices in PHPUnit?
- How to mock with PHPUnit?
- How to use getMockBuilder with PHPUnit?
- How to write a functional test with PHPUnit?
- How to run PHPUnit in a Docker container?
- How to mock a private method in PHPUnit?
- How to configure PHPUnit?
See more codes...