Logging of Test execution in QTTestDriver verbose mode
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- cpp
- Bereich
- observability, testing-qa
Rechercherichtung
Beginne damit, die Implementierung von QTTestDriver und die Behandlung von InvokeResult::success() zu lokalisieren, und untersuche anschließend, wie das verbose-Flag und die vorhandenen Result-Typen die Ausgabe bereitstellen. Erledigt ist die Aufgabe, wenn die Ausgabe einer erfolgreichen QT-Testausführung dem Treiber zur Verfügung steht und bei aktiviertem verbose-Modus protokolliert wird, ohne nützlichen Fehlerkontext zu verlieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
🤔 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
- Vorherrschende Sprache
- C++
- Sterne
- 330
- Forks
- 142
- Ø Merge
- 2 T. 8 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus cucumber/cucumber-cpp
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
cucumber/cucumber-cpp#317 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
cucumber/cucumber-cpp#313 · 9 Kommentare ·
-
Authorize hyphen "-" for TagEvtl. wieder frei @ursfassler hat das vor 399 Tagen übernommen, und es ist kein Pull Request offen. Offenbug
cucumber/cucumber-cpp#312 · 4 Kommentare · 1 zugewiesene Person ·
-
Cucumber for MakefileOffenhelp
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
cucumber/cucumber-cpp#302 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
cucumber/cucumber-cpp#297 · 13 Kommentare ·
Alle Issues in cucumber/cucumber-cpp
Ähnliche Issues
-
backlog
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
EchoTools/nevr-runtime#2956 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
cloudflare/workerd#8963 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Android Bug Core Drape
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
organicmaps/organicmaps#14449 ·
Maintainer antworten meist innerhalb von 1 Tag
-
comp-codecs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
ClickHouse/ClickHouse#135159 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG] Helix template: "ui.background" = "none" logs "Malformed ANSI: none" on every theme loadOffenbug nixos umbriel
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
noctalia-dev/noctalia#5564 ·
Maintainer antworten meist innerhalb von 1 Tag