astral-sh/uv

Show tracing output on test failure

オープン

#8,351 opened on 2024/10/18

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (3,111 件のフォーク)batch import
help wantedinternaltesting

Repository metrics

Stars
 (84,934 個のスター)
PR merge metrics
 (平均マージ 7d 16h) (30d で 259 merged PRs)

説明

In the vein of https://github.com/astral-sh/uv/pull/8349, it's nice to have more information from the child process when a test fails. Right now, if you turn tracing on it ends up in the snapshot and breaks the test. We should have tracing on by default, but exclude it from the snapshots and display it on failure. This could be implemented with something like a UV_LOG_FILE option we pass to the child process then read from on failure.

コントリビューターガイド