Code coverage not working: Test file "../coverage-00000000-0.xml" not found
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- php, typescript, vscode
- Domain
- developer-experience, testing-qa
Research direction
Reproduce the failure in the listed VSCodium, PHP, PHPUnit, and Linux environment using phpunit.xml and tests/heloWorldTest.php. Start from the code coverage run and its Output channel log, then verify in the Test Results Tab that coverage no longer refers to the missing ../coverage-00000000-0.xml file and that tests still run normally.
Written by the indexing model from the issue text.
Description
What happened?
The code coverage feature in this extension is not working. I was working before. Running tests without code coverage or with the debugger works fine.
Steps to reproduce
- Open PHP project in VSCodium
- Run test with code coverage
- Get error in Test Results Tab...
Extension settings
No settings were applied
Output channel log
🚀 PHPUnit 12.5.34 by Sebastian Bergmann and contributors.
❌ PHPUnit 12.5.34 by Sebastian Bergmann and contributors.
Test file "../coverage-00000000-0.xml" not found
Environment
- OS: Linux Mint
- VS Code version: VSCodium 1.126.04524
- Extension version: 3.9.40
- PHP version: 8.3.6
- PHPUnit / Pest version: 12.2
Project structure (if relevant)
project/
---phpunit.xml
---src
---vendor
---tests
------heloWorldTest.php
- Dominant language
- TypeScript
- Stars
- 169
- Forks
- 72
- Avg merge
- 8m
- Merged PRs (30d)
- 184
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from recca0120/vscode-phpunit
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
recca0120/vscode-phpunit#620 ·
Maintainers usually reply within 1 day
-
Suite header shows green "PASS" badge at start, never updates to "FAIL" when the whole file failsOpen
Difficulty 3/5 1-2 days Newbie friendliness 68/100
recca0120/vscode-phpunit#420 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
recca0120/vscode-phpunit#417 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
recca0120/vscode-phpunit#416 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
recca0120/vscode-phpunit#415 · 2 comments ·
Maintainers usually reply within 1 day
All issues in recca0120/vscode-phpunit
Similar issues
-
Media browser returns "Not found" for repositories using the SHA-256 object formatPossibly taken @adamchodera claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Follow-ups from #312Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
janhesters/remixcn#318 ·
Maintainers usually reply within 1 day
-
Interceptor LaunchTestProfile.sh: no Windows (Git Bash/MSYS) branch, test profile never launchesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
danielmiessler/LifeOS#3150 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Make the "%" unit spacing the same in the web and in A10Possibly taken @kragent66-glitch claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 comment ·