astral-sh/uv

Show tracing output on test failure

Aperta

#8351 aperta il 18 ott 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (3111 fork)batch import
help wantedinternaltesting

Metriche repository

Star
 (84.934 stelle)
Metriche merge PR
 (Merge medio 7g 16h) (259 PR mergiate in 30 g)

Descrizione

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.

Guida contributor