feat: SWG 가스켓 전체 구성 정보 표시 개선
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Has been cancelled
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Has been cancelled
- H/F/I/O SS304/GRAPHITE/CS/CS 패턴에서 4개 구성요소 모두 표시 - 기존 SS304 + GRAPHITE → SS304/GRAPHITE/CS/CS로 완전한 구성 표시 - 외부링/필러/내부링/추가구성 모든 정보 포함 - 구매수량 계산 모달에서 정확한 재질 정보 확인 가능
This commit is contained in:
60
backend/pytest.ini
Normal file
60
backend/pytest.ini
Normal file
@@ -0,0 +1,60 @@
|
||||
[tool:pytest]
|
||||
# pytest 설정 파일
|
||||
|
||||
# 테스트 디렉토리
|
||||
testpaths = tests
|
||||
|
||||
# 테스트 파일 패턴
|
||||
python_files = test_*.py *_test.py
|
||||
|
||||
# 테스트 클래스 패턴
|
||||
python_classes = Test*
|
||||
|
||||
# 테스트 함수 패턴
|
||||
python_functions = test_*
|
||||
|
||||
# 마커 정의
|
||||
markers =
|
||||
unit: 단위 테스트
|
||||
integration: 통합 테스트
|
||||
performance: 성능 테스트
|
||||
slow: 느린 테스트 (시간이 오래 걸리는 테스트)
|
||||
api: API 테스트
|
||||
database: 데이터베이스 테스트
|
||||
cache: 캐시 테스트
|
||||
classifier: 분류기 테스트
|
||||
|
||||
# 출력 설정
|
||||
addopts =
|
||||
-v
|
||||
--tb=short
|
||||
--strict-markers
|
||||
--disable-warnings
|
||||
--color=yes
|
||||
--durations=10
|
||||
--cov=app
|
||||
--cov-report=term-missing
|
||||
--cov-report=html:htmlcov
|
||||
--cov-fail-under=80
|
||||
|
||||
# 최소 커버리지 (80%)
|
||||
# --cov-fail-under=80
|
||||
|
||||
# 로그 설정
|
||||
log_cli = true
|
||||
log_cli_level = INFO
|
||||
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
|
||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# 경고 필터
|
||||
filterwarnings =
|
||||
ignore::DeprecationWarning
|
||||
ignore::PendingDeprecationWarning
|
||||
ignore::UserWarning:sqlalchemy.*
|
||||
|
||||
# 테스트 발견 설정
|
||||
minversion = 6.0
|
||||
required_plugins =
|
||||
pytest-cov
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
Reference in New Issue
Block a user