Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>phpspec RunnerNew to Visual Studio Code? Get it now.
phpspec Runner

phpspec Runner

fetzi

|
2,071 installs
| (0) | Free
phpspec Runner is a small extension for speeding up phpspec test execution in Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

phpspec Runner

phpspec Runner is a small extension for speeding up phpspec test execution in Visual Studio Code.

Installation

Press ctrl+p and type ext install phpspec-runner.

Commands

To execute the phpspec-runner commands open the command palette and type the following titles:

[
    {
        "command": "phpspec.runAllTests",
        "title": "Run all phpspec tests"
    },
    {
        "command": "phpspec.runClassTests",
        "title": "Run phpspec tests for class"
    }
]

Demo

Run all phpspec tests

Run all phpspec tests

Run phpspec tests for class

Run phpspec tests for class

Configuration

// path to phpspec executable
"phpspec.binaryPath": "vendor/bin/phpspec",

// phpspec cli arguments
"phpspec.cliArguments": [
"--format=dot",
"--no-interaction"
],

Keybindings

  • Run all phpspec tests - ctrl+shift+t
  • Run phpspec tests for class - ctrl+shift+c

This keybindings can be overridden in your keybindings.json file.

License

The MIT License (MIT). Please see the License File for more information.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft