https://pantsbuild.org/ logo
#general
Title
# general
h

high-yak-85899

07/15/2022, 8:20 PM
Is it expected for
--pytest-args='-s'
to show test output when a test passes? Seems like I get output when I run
pytest
regularly, but not when running
./pants test
2
b

bitter-ability-32190

07/15/2022, 8:21 PM
Try also use --output=all on the test goal. Otherwise pants swallows output for passing test processes
./pants test --output=all ...
h

high-yak-85899

07/15/2022, 8:22 PM
Thanks! That did it
h

hundreds-father-404

07/15/2022, 8:27 PM
I've idly wondered for a long time whether
--otuput=failed
is the correct default. I think probably yeah, otherwise CI etc is way too verbose
b

bitter-ability-32190

07/15/2022, 8:29 PM
Until we can merge test outputs I agree
6 Views