packs test: options that fail the run below a stated coverage or on an unprobed boundary

Abierto
#388 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
57/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
cli, testing

Línea de trabajo

Start by locating the packs test command, its matrix coverage report, derived boundary probes, and the tests that verify its exit status and JSON output. Add tests for each requested option at, above, and below the stated level, plus the unwitnessed-probe case. Done means the options enforce their requirements and report failures in JSON, while runs without them keep the existing output and exit status.

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

Descripción

enhancement

Observed. jpack packs test prints the matrix coverage report and the derived boundary probes, and neither changes the exit status: with a passing matrix and unwitnessed probes the command exits 0. A build cannot require a coverage level.

Ask. Opt-in options on packs test that make the run fail when coverage is below a stated level and when a derived boundary probe has no witnessing row. Without the options the behaviour and the output are unchanged. The JSON output says which requirement failed.

Acceptance. Tests for each option at, above and below the level; unchanged output and exit status without them.

Lenguaje dominante
Go
Estrellas
2
Forks
6
Merge medio
2 h 1 min
PR fusionados (30 d)
69

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 Judgment-Pack/judgment-pack-runtime

Todos los issues de Judgment-Pack/judgment-pack-runtime

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.