tests/ ディレクトリを作成し、以下のような軽量ファイルを配置してください: | |
sample.jpg: PNGやJPEGで10〜100KB程度 | |
sample.mp4: 数秒(2〜5秒)の静止映像でOK | |
requirements.txt に以下を追加: | |
pytest | |
pytest-asyncio | |
✅ テスト実行コマンド | |
pytest test_app.py |
tests/ ディレクトリを作成し、以下のような軽量ファイルを配置してください: | |
sample.jpg: PNGやJPEGで10〜100KB程度 | |
sample.mp4: 数秒(2〜5秒)の静止映像でOK | |
requirements.txt に以下を追加: | |
pytest | |
pytest-asyncio | |
✅ テスト実行コマンド | |
pytest test_app.py |