mutmut run bombs out during initial test run
Los mantenedores suelen responder en 1 día
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
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- testing-qa, tooling
Línea de trabajo
Reproduce el fallo con mutmut 3.5.0, la configuración mostrada y python -m pytest -vv -x -q --rootdir=.; compáralo con una ejecución normal de pytest test. Rastrea si los mutantes están activos durante la ejecución inicial de las pruebas y cómo se informa del fallo de aserción de ScanTriggerType. Done debe explicar la fase que falla y proporcionar diagnósticos prácticos para el usuario.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Using "mutmut run" with 3.5.0 and config:
[mutmut]
paths_to_mutate=src/my_project
mutate_only_covered_lines=false
debug = true
does the following:
....
⠙ Running stats python -m pytest -vv -x -q --rootdir=.
....
platform linux -- Python 3.10.19, pytest-9.0.2, pluggy-1.6.0
cachedir: .pytest_cache
rootdir: <redacted>/mutants
configfile: setup.cfg
testpaths: test
......
<lots of passed tests until one fails>
E AssertionError: xǁScanTriggerTypeǁis_rescan_trigger__mutmut_mutants must be either event or rescan, not both or neither. is_event=False, is_rescan=False
E assert (False ^ False)
Normal "pytest test" runs just fine, the test does NOT have a bug in it and passes normally without mutmut.
This is triggering an area where in one of our tests, we assert that a value is one of a few options... but somehow mutmut is changing this value, seeing the test fail, and then just stopping? ScanTriggerType is an enum.
It seems like it's applying mutants to the initial run of pytest that's supposed to just verify the tests work, or it's failing to catch asserts on tests once it's validating mutants?
The biggest issue here though is that the output doesn't tell me anything. As a first time user, I have no idea why this is failing, what stage it's in, no tips for what might be wrong, no debug output about what mutmut is doing from step to step, etc...
- Lenguaje dominante
- Python
- Estrellas
- 1.5k
- Forks
- 190
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 boxed/mutmut
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Removing `not` from a parenthesized multi-line expression drops the parentheses (InvalidGeneratedSyntaxException, 3.8.0)Posiblemente ocupada @jihtsan la tomó hace 18 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
boxed/mutmut#602 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
`run` with a `name__mutmut_*` pattern runs the whole test suite in the clean-test checkPosiblemente ocupada @Ishaan400 la tomó hace 29 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
boxed/mutmut#592 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Invalid unary plus generated in match statementPosiblemente ocupada @GhostCoder6969 la tomó hace 38 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
What do the emoji's mean?Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
boxed/mutmut#560 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de boxed/mutmut
Issues similares
-
[BUG]: Compliance rules never see Unity Catalog views as viewsPosiblemente ocupada @wagnercsantos la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
databrickslabs/ontos#1348 ·
Los mantenedores suelen responder en 3 días
-
`forum_pr_poster` action will always return `none` when checking for pre-existing feedback threads, even if a feedback thread already exists.Posiblemente ocupada @pgmzeta la tomó hoy. AbiertoE-Verified P-Major
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
goonstation/goonstation#28259 ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
woonstadrotterdam/monumenten#70 ·
Los mantenedores suelen responder en 15 días
-
binding:python bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop sessionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
open-webui/open-terminal#210 ·