Logging of Test execution in QTTestDriver verbose mode
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp
- Área
- observability, testing-qa
Línea de trabajo
Comienza localizando la implementación de QTTestDriver y el manejo de InvokeResult::success(), y después inspecciona cómo el indicador verbose y los tipos Result existentes exponen la salida. La tarea estará terminada cuando la salida de una ejecución exitosa de pruebas QT esté disponible para el driver y se registre cuando el modo verbose esté habilitado, sin perder contexto útil del fallo.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
🤔 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
- Lenguaje dominante
- C++
- Estrellas
- 330
- Forks
- 142
- Merge medio
- 2 d 8 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cucumber/cucumber-cpp
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
cucumber/cucumber-cpp#317 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
cucumber/cucumber-cpp#313 · 9 comentarios ·
-
Authorize hyphen "-" for TagQuizá libre de nuevo @ursfassler la tomó hace 399 días y no hay ningún pull request abierto. Abiertobug
cucumber/cucumber-cpp#312 · 4 comentarios · 1 asignado ·
-
Cucumber for MakefileAbiertohelp
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
cucumber/cucumber-cpp#302 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
cucumber/cucumber-cpp#297 · 13 comentarios ·
Todos los issues de cucumber/cucumber-cpp
Issues similares
-
Build fails on macOS 27: dyld refuses stripped Rust proc-macros (mis-aligned LINKEDIT string pool)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
cloudflare/workerd#8963 ·
Los mantenedores suelen responder en 1 día
-
Android Bug Core Drape
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
organicmaps/organicmaps#14449 ·
Los mantenedores suelen responder en 1 día
-
comp-codecs
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ClickHouse/ClickHouse#135159 ·
Los mantenedores suelen responder en 1 día
-
[raygui] update to 5.0Abiertocategory:port-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 2 días
-
difficulty:easy func:python os:windows prio:high type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NatronGitHub/Natron#2029 ·
Los mantenedores suelen responder en 1 día