Declare and check the external tools that scenarios need
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
- 45/100
Línea de trabajo
Start from the Behat feature files config-edit.feature and post.feature and the requirement handling described in #392. Read the test runner that filters on @require-* tags and the linter for feature files. Done means required executables are declared as tags, checked before run, and missing tools report as undeclared with the tag to add.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Some scenarios depend on external tools without declaring it. For example, config-edit.feature in config-command and post.feature in entity-command use ex as the editor. Where ex is missing, these scenarios fail halfway through, after the setup has already run. In post.feature that happens at the 17th step of the scenario, after a WordPress install and 6 wp calls.
Some declared requirements are not checked at all: @require-composer, @require-download and @require-opcache-save-comments appear in feature files but never filter anything.
Steps:
- Support declaring required executables as tags, checked before the run like the other requirements and reported as described in #392.
- Check the existing
@require-*tags that are currently ignored, and warn about unknown ones so that typos do not go unnoticed. - When a command fails because an executable is missing, report it as an undeclared requirement, naming the tag to add, instead of as a regular test failure. This also catches tools used inside
wpcommands, such asmysqldump,svnorzip. - Flag steps that call known external tools without the matching tag when the feature files are linted.
- Add the missing tags to the existing feature files in the command packages.
- Lenguaje dominante
- PHP
- Estrellas
- 42
- Forks
- 28
- Merge medio
- 15 h 17 min
- PR fusionados (30 d)
- 6
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 wp-cli/wp-cli-tests
-
scope:testing status:unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
wp-cli/wp-cli-tests#389 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Epic: Explicit test requirementsAbiertoscope:testing
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
wp-cli/wp-cli-tests#395 ·
Los mantenedores suelen responder en 1 día
-
Epic: Faster Behat test runsAbiertoscope:testing
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
wp-cli/wp-cli-tests#394 ·
Los mantenedores suelen responder en 1 día
-
scope:testing
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
wp-cli/wp-cli-tests#392 ·
Los mantenedores suelen responder en 1 día
-
scope:testing status:unconfirmed
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
wp-cli/wp-cli-tests#391 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de wp-cli/wp-cli-tests
Issues similares
-
bug webbackend
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
DOMjudge/domjudge#3886 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
opensourcepos/opensourcepos#4794 ·
Los mantenedores suelen responder en 1 día
-
repo:cms
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
craftcms/cms#20235 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
REST API: decimal ids like 1.5 give 500 on folder and report endpointsPosiblemente ocupada @console-log-life la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 3 días