Report scenarios that are filtered out by unmet requirements

Abierto
#392 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
70/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php, wordpress
Área
ci-cd, testing

Línea de trabajo

Locate the PHP code in the test runner that filters scenarios by @require-* tags. Add a pre-run step listing excluded scenarios with their unmet requirements, and a strict mode flag that halts instead of skipping. Validate changes using the existing tag-filtering tests and CI job summary output.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

scope:testing

Scenarios that cannot run in the current environment are filtered out through tags (@require-php-*, @require-wp-*, @require-mysql, @require-extension-*, OS tags and so on). This happens silently: nothing in the output says which scenarios were left out or why, so a green run can hide missing coverage.

Steps:

  1. Before the run starts, list every scenario that is filtered out together with the requirement that is not met. On CI, add the list to the job summary.
  2. Add a strict mode that stops before the run when a requirement is not met, instead of filtering. CI and the container runner can use it, because there a missing requirement is a problem with the environment and should be fixed rather than skipped.
Lenguaje dominante
PHP
Estrellas
42
Forks
28
Merge medio
17 h 14 min
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de wp-cli/wp-cli-tests

Todos los issues de wp-cli/wp-cli-tests

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.