rtk-ai/rtk

pytest collection fails with no-args invocation

開放

#1,417 建立於 2026年4月20日

 (3 則留言) (2 個反應) (0 位負責人)Rust (2,914 個分叉)batch import
area:clibugeffort-smallfilter-qualitygood first issuepriority:medium

倉庫指標

星標
 (48,085 顆星)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

The problem is rtk pytest with no args — that returned "No tests collected" while rtk pytest tests/test_cli_dispatch.py -v worked. There's an rtk bug in how it handles the no-args pytest invocation, probably in its cwd handling or in how it discovers tests when the path isn't explicit.

貢獻者指南