Q25: How do I pass additional arguments to `pytest...
# general
r
Q25: How do I pass additional arguments to
pytest
without modifying
pants.toml
? (e.g., Just temporarily add
-s
to capture console outputs in the tests)
1
b
Every config option has a CLI counterpart:
--pytest-args='-s'
. Additionally a few tools get "passthrough" options from their goal. Pytest is one of them. So you can also do
./pants test ... -- -s
🙌 1
🙏 1