Phpspec support for Phpactor.
- Suggests subject methods when in spec class.
Todo:
- Add
MethodProphecy
type to method calls on collaborators. - Add Subject type to return types.
- Adds the
Collaborator
type to collaborators. - Class generator for class.
- Initialize parameters from
.phpspec.yml
$ /path/to/your/phpactor extension:install phpactor/phpspec-extension
Phpactor allows you to jump to related files, just add the following configuration to jump from your standard source code to the test:
{
"navigator.destinations": {
"source": "lib\/<kernel>Test.php"
"spec": "spec\/<kernel>Spec.php"
},
}
See Jump to related file for more information.
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
- Create an issue on the main Phpactor repository.
- Join the
#phpactor
channel on the Slack Symfony Devs channel.