Go: richgo (a go test output wrapper) is not go test

未關閉 適合新手
#259 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
74/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
go
領域
tooling

研究方向

拒絕 richgo test 的檢查位於 ecosystems/go.py 第 179 行附近,那裡只接受 go test 和 gotestsum。payload 的 --facts 輸出顯示,argv ["richgo", "test", ...] 已經到達該檢查。請先閱讀該函式,然後對重現專案執行驗證器(Makefile 中有一個呼叫 richgo test ./... 的 richtest: 目標,外加一個 _test.go 檔案)。當該儲存庫的測試執行檢查通過,且現有 Go 測試仍然通過時,即為完成。

由索引模型根據 Issue 內容生成。

描述

spf13/cobra runs every test job through richgo test ./...; tests-run WARNs "no CI configuration runs go test". richgo test is go test with coloured output.

Evidence from the corpus audit

spf13/cobra / tests-run
  • kind: FALSE_NEGATIVE
  • actual: WARN: tests found in 16 file(s), but no CI configuration runs go test
  • expected: PASS: every test job runs the tests through richgo, a go test output wrapper (richgo test = go test).
  • evidence: .github/workflows/test.yml:93 (and :130, Windows): - run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin/:$PATH make richtest; Makefile:26,28: richtest: install_deps / richgo test -v $(GO_TEST_FLAGS) ./...
  • evidence (validator): --facts shows "argv": ["richgo", "test", "-v", "$(GO_TEST_FLAGS)", "./..."] reached, but ecosystems/go.py:179 accepts only go test and gotestsum.
  • repro: Makefile target richtest: / \trichgo test ./..., workflow run: make richtest, one _test.go.
  • confidence: medium (richgo is a well-known wrapper, but not as common as gotestsum)

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

主要語言
Python
星號
4
分支
1
平均合併
10 小時 41 分鐘
30 天內合併 PR
79

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

cpp-best-practices/project_validator 的其他 Issue

查看 cpp-best-practices/project_validator 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。