デフォルトの実行pytestとして設定2、pycharm

1.ファイルを開く設定

2. [ツール] - Pythonの統合ツール

3.ドロップダウンボックスでデフォルトのテストランナーオプションを探し、選択しpy.test

ポイント4.適用します。

5. py.testは、実行時にオプションを実行します

 

おすすめ

転載: www.cnblogs.com/little-little-bai/p/11290285.html