Logging of Test execution in QTTestDriver verbose mode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- cpp
- Ambito
- observability, testing-qa
Direzione di ricerca
Inizia individuando l’implementazione di QTTestDriver e la gestione di InvokeResult::success(), quindi esamina come il flag verbose e i tipi Result esistenti espongono l’output. Il lavoro è completato quando l’output dell’esecuzione corretta dei test QT è disponibile per il driver e viene registrato quando la modalità verbose è abilitata, senza perdere informazioni utili sul fallimento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🤔 What's the problem you're trying to solve?
Currently if the steps run without any problems, the output from the test could not be logged or seen. The output is stored in a file that is removed after test and does not contain helpful information on success cause no loglevel is provided to the test
✨ What's your proposed solution?
The verbose flag or another flag should be provided to the TestDriver implementation.
The testdriver should then configure the tests with the appropriate, driver specific loglevels.
The output of the test could be
- provided as "description" as part of the InvokeResult::success() like for the other Resulttypes
- the description should be logged out in case of the verbose flag enabled.
⛏ Have you considered any alternatives or workarounds?
The logging could be done in the steps implementation by NOT using the QT macros qInfo() or by providing an messagehandler for this. Long text short: logging to stderr is possible and output from stderr is shown. This could also a way to enable logging. But in failure cases the context of these logs and the steps executions do not match. This might not be helpfull.
📚 Any additional context?
No response
- Lingua principale
- C++
- Stelle
- 330
- Fork
- 142
- Merge medio
- 2g 8h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 cucumber/cucumber-cpp
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
cucumber/cucumber-cpp#317 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
cucumber/cucumber-cpp#313 · 9 commenti ·
-
Authorize hyphen "-" for TagForse di nuovo libera @ursfassler l’ha presa 399 giorni fa e non c’è nessuna pull request aperta. Apertabug
cucumber/cucumber-cpp#312 · 4 commenti · 1 assegnatario ·
-
Cucumber for MakefileApertahelp
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
cucumber/cucumber-cpp#302 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
cucumber/cucumber-cpp#297 · 13 commenti ·
Tutte le issue di cucumber/cucumber-cpp
Issue simili
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
cloudflare/workerd#8963 ·
I maintainer di solito rispondono entro 1 giorno
-
Android Bug Core Drape
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
organicmaps/organicmaps#14449 ·
I maintainer di solito rispondono entro 1 giorno
-
comp-codecs
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ClickHouse/ClickHouse#135159 ·
I maintainer di solito rispondono entro 1 giorno
-
difficulty:easy func:python os:windows prio:high type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NatronGitHub/Natron#2029 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
ardazishvili/Sota#114 ·
I maintainer di solito rispondono entro 1 giorno