Add consistency for reporting TestNG results for data providers
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- java, typescript, vscode
- Ambito
- developer-experience, testing
Direzione di ricerca
Inizia con il listener TestNG predefinito e il percorso di reporting per i data provider; il workaround ITest/getTestName dell’issue e il listener IntelliJ collegato forniscono punti di confronto. Riproduci il caso dell’issue e verifica che la UI di VS Code e la console riportino conteggi dei test coerenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Overall, great experience working with vscode and this extension thus far. Adding this feature/fixing the bug (eye of the beholder) will save a bit of time running commands in the terminal to get reliable results.
See below for a depiction of the disagreement between the user interface and console reports as well as a simple reproduce case.
I'd imagine there are many ways to approach this for full flexibility but I do think having the default test listener support this out of the box and at least have agreement in counts would be a desirable feature. I have used other IDEs and here is one way it is being approached: https://github.com/JetBrains/intellij-community/blob/2aa816fb814bb07c697a17d6a27e427e142a3633/plugins/testng_rt/src/com/intellij/rt/testng/IDEATestNGRemoteListener.java.
Note: there are ways to work around this by implementing the ITest interface per test and overriding the getTestName method but this is cumbersome as well!
System and application versions
Version: 1.37.1 (user setup)
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:17:55.855Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
TestNG version
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8</version>
<scope>test</scope>
</dependency>
Repro case

- Lingua principale
- TypeScript
- Stelle
- 340
- Fork
- 173
- Merge medio
- 1g 2h
- PR unite (30g)
- 17
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.
Altre issue di microsoft/vscode-java-test
-
ai-triaged bug investigating junit test-discovery test-execution
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
microsoft/vscode-java-test#1897 · 1 commento ·
-
ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 commenti · 1 assegnatario ·
-
ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 commenti · 1 assegnatario ·
-
ai-triaged enhancement junit low-priority test-execution ui
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/vscode-java-test#1836 · 4 commenti ·
-
ai-triaged enhancement gradle investigating junit low-priority test-reporting
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/vscode-java-test#1824 · 1 commento ·
Tutte le issue di microsoft/vscode-java-test
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100