rtk-ai/rtk

pytest collection fails with no-args invocation

Open

#1 417 ouverte le 20 avr. 2026

Voir sur GitHub
 (3 commentaires) (2 réactions) (0 assignés)Rust (2 914 forks)batch import
area:clibugeffort-smallfilter-qualitygood first issuepriority:medium

Métriques du dépôt

Stars
 (48 085 stars)
Métriques de merge PR
 (Merge moyen 11j 1h) (45 PRs mergées en 30 j)

Description

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.

Guide contributeur