pytest is a popular testing framework for Python. On Ubuntu 24.04, Python 3.12 is included by default, and you can use pip to install Python packages like pytest. Below are step-by-step instructions ...
pip install pytest-xdist pytest -n auto # CPU数に応じて自動 # 遅いテストを表示 pytest --durations= 10 ``` ### その他 ```bash # 前回失敗したテストのみ再実行 pytest --lf # 前回失敗したテストから実行 pytest --ff # ドライラン(実際には実行しない) pytest ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する