Rerun formatter: the message based version miss failures in around hooks
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Empieza comparando el formateador de rerun basado en mensajes con su versión basada en eventos, centrándote en los fallos de Around hook y en los mensajes TestCaseFinished y TestStepFinished descritos en la issue. Se considera terminado cuando se detecta un Around hook fallido y la salida del rerun incluye division.feature:6 en lugar de estar vacía.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
👓 What did you see?
For Around hook there are no TestStepStarted or TestStepFinished events fired. If an Around hook fails it is only detected from the result in the TestCaseFinished event. The result of the TestCaseFinished event are frequently used by formatters in Cucumber-Ruby, so the event based formatters do detect and report failures in Around hook.
In case of messages there is only result data in the TestStepFinished message and not in the TestCaseFinished message. Therefore, when the rerun formatter was changes to use messages instead of event, it no longer detect failures in Around hooks.
Using the message based version of the rerun formatter, a failure in an Around hook could look like:
Summary output:
1 scenario (1 failed)
4 steps (4 passed)
Content for rerun file is empty
✅ What did you expect to see?
Using the event based version of the rerun formatter, a failure in an Around hook could look like:
Summary output:
1 scenario (1 failed)
4 steps (4 passed)
Content for rerun file:
division.feature:6
📦 Which tool/library version are you using?
No response
🔬 How could we reproduce it?
No response
📚 Any additional context?
No response
- Lenguaje dominante
- Ruby
- Estrellas
- 5.2k
- Forks
- 1.1k
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 5
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-ruby
-
Cucumber crashes on Windows 11 with JRuby 10 when loading `sys-uname` through `jruby-win32ole`Abierto:bug: bug
Dificultad 4/5 3-5 días Aptitud para principiantes 62/100
cucumber/cucumber-ruby#1908 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
:bank: debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
cucumber/cucumber-ruby#1884 ·
Los mantenedores suelen responder en 2 días
-
:bank: debt
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
cucumber/cucumber-ruby#1871 ·
Los mantenedores suelen responder en 2 días
-
:bank: debt
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
cucumber/cucumber-ruby#1840 ·
Los mantenedores suelen responder en 2 días
-
CCK upgrade pathsAbierto:bank: debt
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
cucumber/cucumber-ruby#1822 · 9 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de cucumber/cucumber-ruby
Issues similares
-
Remove sidekiq trace filteringAbiertoinstrumentation-sidekiq
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
open-telemetry/opentelemetry-ruby-contrib#2735 ·
Los mantenedores suelen responder en 2 días
-
SecureRandom.alphanumeric can silently return an empty or wrong-length secret instead of raisingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
ruby/securerandom#92 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
we-promise/sure#5902 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
avo-hq/avo#5065 · 1 comentario ·
Los mantenedores suelen responder en 1 día