-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/test #10
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
프로파일링과 테스트 코드 정말 멋집니다. 고생많으셨어요!
|
||
test_object = ProfileRetrieval() | ||
profiler = Profile() | ||
profiler.runcall(test_object.test) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 너무 좋네요!!
파이썬 같은 동적인 언어에는 반드시 필요한 존재 같아요
tests/test_arguments.py
Outdated
|
||
|
||
class TestArguments(unittest.TestCase): | ||
@classmethod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아래 preprocess나 retrieval 클래스 안에 있는 setUP
함수와 달리 TestArguments
의 setUpClass
함수는 왜 클래스 메서드를 사용하는지 궁금해요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사실 큰 이유 없는 레거시 코드의 흔적 입니다....!! 의견 감사합니다!! 😊
Description
테스트 코드와 프로파일링 코드를 추가하였습니다.
실행방법
코드 테스팅 및 커버리지 측정
make test
make coverage
프로파일링
make profile
자세한 프로파일링 코드는 tests/profile_retrieval.py에서 확인 가능합니다.
Related Issue
None.