A VS Code extension that helps you run PHP tests directly from your editor using a persistent terminal.
- Run tests for the current function using
Ctrl+Alt+T(Windows/Linux) orCmd+Alt+T(Mac) - Run all tests in the current file using
Ctrl+Alt+A(Windows/Linux) orCmd+Alt+A(Mac) - Works with PHP test files that have "Test" in their name or path
- Automatically detects the current test function name
- Runs tests in a persistent terminal window for better workflow and test history visibility
-
Run the installation script:
./install.sh
-
Reload VS Code to activate the extension:
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) - Type "Reload Window" and select "Developer: Reload Window"
- Press Enter
Or use the keyboard shortcut:
- Press
Cmd+R(Mac) orCtrl+R(Windows/Linux)
- Press
- Open a test file
- Place your cursor inside a test function
- Press
Cmd+Alt+T(Mac) orCtrl+Alt+T(Windows/Linux) - The test will run in the persistent terminal window
- Open a test file
- Press
Cmd+Alt+A(Mac) orCtrl+Alt+A(Windows/Linux) - All tests in the file will run in the persistent terminal window
- Only works with PHP test files that have "Test" in their name or path
- Requires the cursor to be positioned inside a test function when running a single test
- Changed functionality to run tests directly in a persistent terminal instead of copying commands to clipboard
- Tests now run in the same terminal window for better workflow and visibility of test history
- Updated command titles to reflect the new functionality
- Updated VS Code engine version requirement to ^1.80.0
- Initial release
- Added ability to copy test commands for current function (Ctrl+Alt+T / Cmd+Alt+T)
- Added ability to copy test commands for current file (Ctrl+Alt+A / Cmd+Alt+A)
- Added support for PHP test files with "Test" in their name or path
- Added automatic function name detection for test methods