Download the PHP package phpactor/phpunit-extension without Composer
On this page you can find all versions of the php package phpactor/phpunit-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phpactor/phpunit-extension
More information about phpactor/phpunit-extension
Files in phpactor/phpunit-extension
Package phpunit-extension
Short Description Various integrations for PHPUnit
License MIT
Informations about the package phpunit-extension
PHPUnit Integration
PHPUnit integration for Phpactor
Features
- [x] Type inference for
Assert::instanceOf(Foo::class, 'bar')
(for both member and static versions). - [x] Generate new test classes
Installation
Install Phpactor with the Phpactor binary:
You can also install extensions from your editor. See extensions for more details.
Configuration and Usage
Test Navigation
Phpactor allows you to jump to related files, just add the following configuration to jump from your standard source code to the test:
See Jump to related file for more information.
Test Auto Creation
When jumping to a file which does not exist, Phpactor can offer to create a
file for you. This plugin includes a simple phpunit
class generator,
configure (promted) auto-creation as follows:
TODO
- [ ] RPC handlers to run PHPUnit, jump to failing tests?
Contributing
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
Support
- Create an issue on the main Phpactor repository.
- Join the
#phpactor
channel on the Slack Symfony Devs channel.
All versions of phpunit-extension with dependencies
phpactor/container Version ^2.0.0
phpactor/worse-reflection-extension Version ^0.2.4
phpactor/test-utils Version ^1.1.3
phpactor/code-transform-extension Version ^0.2.1