
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
pytestでテスト中にprintで標準出力したいとき - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
pytestでテスト中にprintで標準出力したいとき - Qiita
# test_one.py def test_good(): for i in range(5): print(i) assert True def test_bad(): print('thi... # test_one.py def test_good(): for i in range(5): print(i) assert True def test_bad(): print('this should fail!') assert False $ pytest =========================================================== test session starts =========================================================== platform darwin -- Python 3.7.0, pytest-6.2.1, py-1.10.0, pluggy-0.13.1 rootdir: /Users/reishimitani/Desktop/d2xx/D2XX colle