unittestfiles6.1 Python 파이썬 단위 테스트는 어디에 위치해야 하나요? [닫힘], Where do the Python unit tests go? [closed] 질문 If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the modules that you'll be testing. Is there a best practice here? 답변 파일 module.py의 경우, 일반적으로 유닛 테스트는 Pythonic 네이밍 규칙을 따라 test_module.. 2023. 9. 19. 이전 1 다음