phpactor/phpspec-extension

This package is abandoned and no longer maintained. No replacement package was suggested.

Integration for Phpspec

Installs: 1 782

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 2

Type:phpactor-extension

0.1.4 2021-02-06 15:14 UTC

This package is auto-updated.

Last update: 2024-02-06 21:47:58 UTC


README

CI

Phpspec support for Phpactor.

recording

Features

  • 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

Installation

$ /path/to/your/phpactor extension:install phpactor/phpspec-extension

Tips and Tricks

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:

{
    "navigator.destinations": {
        "source": "lib\/<kernel>Test.php"
        "spec": "spec\/<kernel>Spec.php"
    },
}

See Jump to related file for more information.

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.