Logging of Test execution in QTTestDriver verbose mode
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- cpp
- Domaine
- observability, testing-qa
Piste de recherche
Commencez par localiser l’implémentation de QTTestDriver et la gestion de InvokeResult::success(), puis examinez comment le flag verbose et les types Result existants exposent la sortie. Le travail est terminé lorsque la sortie d’une exécution réussie des tests QT est disponible pour le driver et est journalisée lorsque le mode verbose est activé, sans perdre de contexte utile sur l’échec.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
🤔 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
- Langage dominant
- C++
- Étoiles
- 330
- Forks
- 142
- Merge moyen
- 2 j 8 h
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cucumber/cucumber-cpp
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
cucumber/cucumber-cpp#317 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
cucumber/cucumber-cpp#313 · 9 commentaires ·
-
Authorize hyphen "-" for TagPeut-être à nouveau libre @ursfassler l’a pris il y a 399 jours, et aucune pull request n’est ouverte. Ouvertebug
cucumber/cucumber-cpp#312 · 4 commentaires · 1 personne assignée ·
-
Cucumber for MakefileOuvertehelp
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
cucumber/cucumber-cpp#302 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
cucumber/cucumber-cpp#297 · 13 commentaires ·
Toutes les issues de cucumber/cucumber-cpp
Issues similaires
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
cloudflare/workerd#8963 ·
Les mainteneurs répondent en général sous 1 jour
-
Android Bug Core Drape
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
organicmaps/organicmaps#14449 ·
Les mainteneurs répondent en général sous 1 jour
-
comp-codecs
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
ClickHouse/ClickHouse#135159 ·
Les mainteneurs répondent en général sous 1 jour
-
[raygui] update to 5.0Ouvertecategory:port-update
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 2 jours
-
difficulty:easy func:python os:windows prio:high type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
NatronGitHub/Natron#2029 ·
Les mainteneurs répondent en général sous 1 jour