
🚀 VSCode Codeception
Run codeception tests quickly and easily from within VSCode with easy to remember shortcuts!
Installation
Download it from the Marketplace or search for VSCode Codeception in your VSCode editor extension panel.
Features
- Run all tests
- Run a single file
- Run a single test
Run all tests:
- Open the command menu:
Cmd+Shift+p
- Select:
VSCode Codeception: Run All
Run a file of tests:
- Open a file
- Open the command menu:
Cmd+Shift+p
- Select:
VSCode Codeception: Run File
Run a single test:
- Open a file
- Move your cursor to a test function
- Open the command menu:
Cmd+Shift+p
- Select:
VSCode Codeception: Run Method
Custom Configuraton
These values can be configured in your user settings config.
Name |
Type |
Default |
Description |
vscode-codeception.commandSuffix |
string |
null |
Flags or arguments to be appended to the command run. E.g if you want to add --debug this is the correct place. |
vscode-codeception.codeceptBinary |
string |
null |
A custom path of the Codecept binary. By default it will be auto-discovered from the vendor folder. |
How to use these values
Open your settings (or Workspace settings), switch to JSON and put them like this:
{
"vscode-codeception.commandSuffix": null,
"vscode-codeception.codeceptBinary": null,
}
Roadmap: what's next?
This extension is still under heavy development, and will be updated regulary.
This is what I plan to implement:
- Panel on left sidebar to see suites and available tests
- Re-run failures
| |