업데이트
This commit is contained in:
11
README.md
11
README.md
@@ -151,12 +151,19 @@ cfg = build_runtime_config(config_dict)
|
||||
python -m pip install pytest
|
||||
```
|
||||
|
||||
2. **테스트 실행**:
|
||||
2. **전체 테스트 실행**:
|
||||
|
||||
```bash
|
||||
pytest
|
||||
pytest # src/tests/ 폴더의 모든 테스트
|
||||
pytest -v # 상세 출력
|
||||
pytest src/tests/test_main.py # 특정 테스트 파일만
|
||||
```
|
||||
|
||||
3. **테스트 위치**:
|
||||
- 모든 테스트는 `src/tests/` 폴더에 위치
|
||||
- `pytest.ini` 설정: `testpaths = src/tests`
|
||||
- 최상위 폴더에 `test_*.py` 파일을 두지 마세요
|
||||
|
||||
---
|
||||
|
||||
이 문서는 프로젝트의 최신 구조와 실행 방법을 반영하도록 업데이트되었습니다.
|
||||
|
||||
Reference in New Issue
Block a user