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

Đang mở
#279 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
emacs-lisp, python
Lĩnh vực
testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
4
Fork
1
Merge trung bình
10 giờ 41 phút
Pull request đã merge (30 ngày)
79

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cpp-best-practices/project_validator

Tất cả issue của cpp-best-practices/project_validator

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.