Download the PHP package maks3w/phpunit-methods-trait without Composer
On this page you can find all versions of the php package maks3w/phpunit-methods-trait. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download maks3w/phpunit-methods-trait
More information about maks3w/phpunit-methods-trait
Files in maks3w/phpunit-methods-trait
Download maks3w/phpunit-methods-trait
More information about maks3w/phpunit-methods-trait
Files in maks3w/phpunit-methods-trait
Vendor maks3w
Package phpunit-methods-trait
Short Description Provide PHPUnit method signatures as traits for IDE autocomplete
License BSD-2-Clause
Homepage https://github.com/Maks3w/PhpUnitMethodsTrait
Package phpunit-methods-trait
Short Description Provide PHPUnit method signatures as traits for IDE autocomplete
License BSD-2-Clause
Homepage https://github.com/Maks3w/PhpUnitMethodsTrait
Keywords phpunitautocomplete
Please rate this library. Is it a good library?
Informations about the package phpunit-methods-trait
PHPUnit methods trait
Provide a PHP Trait with methods present in PHPUnit Test Framework and expected to be implemented by TestCase.
This is useful when traits are used for test reuse, and it's necessary to access to PHPUnit\Framework\TestCase methods from the trait.
Installing via Composer
You can use Composer .
Usage
Example of use in a trait
FAQ
- Q: Assertion methods are not recognized. Why?
- A: Assertion methods like `assertTrue` are static methods present in `PHPUnit\Framework\Assert` just access them using static method call `PHPUnit\Framework\Assert::assertTrue(...)`
License
Code licensed under BSD 2 clauses terms & conditions.
See LICENSE.txt for more information.
All versions of phpunit-methods-trait with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 7.4
The package maks3w/phpunit-methods-trait contains the following files
Loading the files please wait ....