connor4312 / connor4312/nodejs-testing

Subtests not reported as expected.

Aperta
#55 8 commenti 3 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
TypeScript
Stelle
67
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When writing a test with subtests, the test explorer doesn't list the subtests and the subtests are not reported in the test results. Furthermore, when an error occurs the message that appears in the editor will just say some count of subtests failed, rather than specifying which one failed and what error occurred.

However when running the same tests directly with Node, a full report is generated that lists all the subtests along with timings, success/failure, and all full error messages will be printed.

As a result, it is at times necessary to run tests in the terminal rather than the test runner in order to debug them properly.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo un test con sottotest nell'explorer dei test di VS Code, quindi confronta il suo output con quello della stessa esecuzione del test direttamente tramite Node. Il lavoro è completato quando l'explorer elenca i sottotest, ne riporta i tempi e l'esito positivo o negativo, e mostra nell'editor il sottotest non riuscito e il messaggio di errore completo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
nodejs, typescript, vscode
Ambito
developer-experience, testing
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.