When I run `pants test :: -- -s`, there is nothing...
# general
b
When I run
pants test :: -- -s
, there is nothing printed for tests that passed. Am I doing something wrong?
1
l
I think you also need to pass the --debug arg right after test
👍 1
Check the details of the pants web documentation around the test goal for python
The -s tells pytest to output stdout but separately have to tell pants to pass the pytest stdout through to you
👍 1
h
--debug
is very verbose. For tests you can
--output=all
(see here)
🙏 1
The default is
--output=failed
b
Much better! Thanks!
h
Like all options, you can set this in
pants.toml
if you want it to be your repo's default.
c
.. and in
.pants.rc
if you want it as a repo default for yourself only.. 😉