microsoft / microsoft/vscode-java-test
Results not reported for JUnit 5 suites
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 340
- Fork
- 173
- Merge medio
- 1g 19h
- PR unite (30g)
- 18
Descrizione
Versions:
VSCode 1.92.2
Test Runner for Java 0.42.0
What happens:
When running a suite written with the JUnit 5 Jupiter API, the results of the test are not reported in the Test Results pane.
What was expected:
Test results from the suite should be reported in the same way as they are with suites written to the JUnit 4 API.
Steps to reproduce:
- Unzip the attached project.zip
- Launch Visual Studio Code for the project:
code project.code-workspace & - Browse to the class TestSuiteForJUnit4.java
- Click on the Play button to the left of the class declaration
- Observe that the test method is reported in the Test Results pane
- Browse to the class TestSuiteForJUnit5.java
- Click on the Play button to the left of the class declaration
- Observe that the test runs, but is not reported in the Test Results pane
Minimal example:
Screenshot:
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Estrai 1729-project.zip e confronta TestSuiteForJUnit4.java con TestSuiteForJUnit5.java, iniziando da come viene rappresentata ogni esecuzione nel riquadro „Test Results“. Traccia il percorso della segnalazione dei risultati dei test per entrambe le suite e verifica il comportamento ripetendo i passaggi di VS Code elencati. Il lavoro è completato quando il metodo di test della suite JUnit 5 viene segnalato come quello della suite JUnit 4.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, typescript, vscode
- Ambito
- devtools, testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100