Thanks for your interest in improving PHPUnit & Pest Test Explorer!
Please use the Bug Report template. The most helpful reports include:
- Your
phpunit.*settings from.vscode/settings.json - The output from the PHPUnit output channel (View → Output → "PHPUnit")
- Your PHP and PHPUnit/Pest versions
These details help us reproduce the issue quickly. Without them, we may need to go back and forth asking for more info, which slows things down for everyone.
Open a Feature Request to discuss the idea before writing code. This saves effort in case the feature doesn't fit the project direction or there's an existing way to achieve what you need.
- Open an issue first — this helps us discuss the approach before you invest time coding
- Keep PRs focused — one bug fix or feature per PR
- Include tests — make sure all tests pass before submitting
- Follow existing code style — the project uses Biome for linting (
pnpm lint)
git clone https://github.com/recca0120/vscode-phpunit.git
cd vscode-phpunit
pnpm install # also installs Lefthook git hookspnpm vitest run # unit tests (fast, no VS Code needed)
pnpm vitest:watch # unit tests in watch mode
pnpm test:e2e # end-to-end tests (launches VS Code)
pnpm lint # lint with BiomeTo manually test the extension, press F5 in VS Code to launch the Extension Development Host.
The project uses Biome for linting and formatting, with Lefthook running biome check automatically on pre-commit. You don't need to run lint manually — it runs on every commit.
- Prefer early returns (guard clauses) over nested
if-else - Keep changes minimal — don't refactor surrounding code in a bug fix PR
If you have questions that aren't bugs or feature requests, please use GitHub Discussions.