Cannot run multiple test files with PHPUnit
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 17
### What happened
Only the first item is run when we select multiple test/tested files.
### How to reproduce
### Steps :
1. Create a New Project: "File > New Project..."
2. Select "Samples > PHP > Calculator - PHPUnit Sample Application"
3. Edit composer.json: `"phpunit/phpunit": "~8"` to `"phpunit/phpunit": "~9"`
4. Read readme.html (Requirements) then install PHPUnit
5. Add tested and test files.: e.g. `Calculator2`, `Calculator2Test` (copy `Calculator*` and rename to `Calclulator2*`)
6. Select `CalculatorTest` and `Calculator2Test` (or `Calculator` and `Calculator2`)
7. Run > Run File (or Run > Run Tests)
8. The first selected file is run
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 22.04
### JDK
OpenJDK 11.0.18
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Reproduce the issue with the CalculatorTest and Calculator2Test files from the PHP Calculator - PHPUnit Sample Application, using composer.json with PHPUnit ~9. Start from the Run File and Run Tests actions; done means selecting multiple test or tested files runs every selected file rather than only the first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100