- pytest Quick Start Guide
- Bruno Oliveira
- 74字
- 2021-07-16 17:51:30
Disabling capturing with -s
While running your tests locally, you might want to disable output capturing to see what messages are being printed in real-time, or whether the capturing is interfering with other capturing your code might be doing.
In those cases, just pass -s to pytest to completely disable capturing:
λ pytest tests\test_digest.py -s
======================== test session starts ========================
...
tests\test_digest.py content size 29
0cf857938e0b4a1b3fdd41d424ae97d0caeab166
.
===================== 1 passed in 0.02 seconds ======================
推薦閱讀
- 解析QUIC/HTTP3:未來(lái)互聯(lián)網(wǎng)的基石
- 物聯(lián)網(wǎng)識(shí)別技術(shù)
- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- Learning Karaf Cellar
- SD-WAN架構(gòu)與技術(shù)(第2版)
- 無(wú)人機(jī)通信
- 2018網(wǎng)信發(fā)展報(bào)告
- 網(wǎng)絡(luò)安全應(yīng)急響應(yīng)技術(shù)實(shí)戰(zhàn)
- Kong網(wǎng)關(guān):入門、實(shí)戰(zhàn)與進(jìn)階
- SAE原理與網(wǎng)絡(luò)規(guī)劃
- 6G無(wú)線網(wǎng)絡(luò)空口關(guān)鍵技術(shù)
- 網(wǎng)絡(luò)利他行為研究:積極心理學(xué)的視角
- 設(shè)備監(jiān)控技術(shù)詳解
- 轉(zhuǎn)化:提升網(wǎng)站流量和轉(zhuǎn)化率的技巧
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)