rtk-ai/rtk

pytest collection fails with no-args invocation

Open

#1417 aperta il 20 apr 2026

Vedi su GitHub
 (3 commenti) (2 reazioni) (0 assegnatari)Rust (2914 fork)batch import
area:clibugeffort-smallfilter-qualitygood first issuepriority:medium

Metriche repository

Star
 (48.085 star)
Metriche merge PR
 (Merge medio 11g 1h) (45 PR mergiate in 30 g)

Descrizione

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.

Guida contributor