Emacs Lisp: `eask run command <name>` (a user-defined Eask command running ert) is not a test run

Abierto
#279 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
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
emacs-lisp, python
Área
testing-qa

Línea de trabajo

The false FAIL comes from the Emacs Lisp test-detection check in the Python validator; find the rule that requires a CI command matching eask test ert and extend it to recognise eask run command <name> by reading the named eask-defcommand in the Eask file. Reproduce with the repro case in the issue (an Eask file defining a command that runs ert, with CI calling eask run command test) and confirm it no longer reports FAIL, accepting PASS or unknown.

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

Descripción

emacs-evil/evil's make test runs eask run command test, an Eask command that loads evil-tests.el (235 ert-deftests) and runs them → FAIL "no CI configuration runs eask test ert …". The Eask file's commands are readable.

Evidence from the corpus audit

emacs-evil/evil / tests-run
  • kind: FALSE_NEGATIVE
  • actual: FAIL: Emacs Lisp: tests found in 1 file(s), but no CI configuration runs eask test ert test/*.el (...)
  • expected: PASS (or ERROR): CI's make test runs eask run command test, a user-defined Eask command that loads evil-tests.el (235 ert-deftests) and runs them.
  • evidence: .github/workflows/test.yml:53: make test; Makefile:37-38: test: / $(EASK) run command test; Eask:25-28: (eask-defcommand test ... (require 'evil-tests) / (evil-tests-initialize nil nil)).
  • repro: Eask with (eask-defcommand test (require 'x-tests) (ert-run-tests-batch-and-exit)) and CI eask run command test.
  • confidence: medium (the command body is Elisp; "unknown" would be acceptable, silent FAIL is not)

Found by the regression-corpus audit (235 real repositories, one or more per ecosystem profile; corpus and expected results in corpus/). Evidence is quoted from the audited checkouts at the commits pinned in corpus/projects.toml; <checkouts>/<owner>__<repo> is such a checkout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Lenguaje dominante
Python
Estrellas
4
Forks
1
Merge medio
10 h 41 min
PR fusionados (30 d)
79

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 cpp-best-practices/project_validator

Todos los issues de cpp-best-practices/project_validator

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.