Skip Non‑Existing Test Paths Support for Robot Command
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- cli, testing-qa
Línea de trabajo
Comienza por el manejo que hace el comando robot de las rutas de prueba proporcionadas y compáralo con la opción existente --runemptysuite. Rastrea cómo los archivos o directorios faltantes detienen actualmente la ejecución, luego define el nuevo comportamiento de omitir las rutas faltantes y añade cobertura que demuestre que las rutas existentes siguen ejecutándose mientras que las no existentes se omiten.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello,
This is essentially a feature request (or feature greenlight). It appears that the robot command fails completely if any of the provided test paths do not exist. As a result, if you accidentally include a missing file or directory, the entire execution stops, even tough it could have executed it for the other files.
While we can avoid running empty suites or non‑suites using --runemptysuite, there is currently no option to simply skip non‑existing files.
A solution to handle this could be to wrap the command in a script that checks file existence beforehand, but this still leaves a potential TOCTOU issue (the file might be deleted between the check and the actual execution).
Would it be possible to introduce a flag that instructs Robot Framework to skip missing files—for example, something like --skipnonexisting?
I’m willing to look into implementing this myself if the idea is considered acceptable (I haven't checked yet the code itself).
Thanks,
Syméon
- Lenguaje dominante
- Python
- Estrellas
- 11.9k
- Forks
- 2.6k
- Merge medio
- 3 d 23 h
- PR fusionados (30 d)
- 6
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 robotframework/robotframework
-
Update Telnet deprecation note to point to the new standalone libraryPosiblemente ocupada @wiktormowinski la tomó hace 14 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
robotframework/robotframework#5811 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Auto adapt column width in log.htmlPosiblemente ocupada @jin-harmoney la tomó hace 1258 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
robotframework/robotframework#4025 · 9 comentarios ·
Los mantenedores suelen responder en 3 días
-
Execution crashes if library import argument cannot be convertedPosiblemente ocupada @d-biehl la tomó hace 6 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
robotframework/robotframework#5815 ·
Los mantenedores suelen responder en 3 días
-
Libdoc: Deprecate converting Markdown to HTML in spec files by defaultPosiblemente ocupada @pekkaklarck la tomó hace 16 días. Abiertodeprecation effort: small priority: medium
robotframework/robotframework#5809 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
backwards incompatible effort: medium priority: medium
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
robotframework/robotframework#5808 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
Todos los issues de robotframework/robotframework
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 6 días
-
Bump zizmor to 1.31.1+Abiertogithub_actions
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
collective/icalendar#2003 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
openzim/python-scraperlib#360 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
volcengine/OpenViking#6445 ·
Los mantenedores suelen responder en 1 día