일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- curl
- Mac
- judge
- Windows
- Linux
- numpy
- PostgreSQL
- enV
- TORCH
- AI
- pandas
- Paper
- evaluation
- Laravel
- git
- Python
- KAKAO
- Flask
- CUDA
- pytorch
- GitLab
- format
- DB
- Converting
- Database
- LLM
- docker
- file
- list
- Container
Archives
- Today
- Total
목록2022/10/25 (1)
Daily Develope
[Python] 단위테스트 (Unit test)
main_test.py 에서 특정 모듈에서 선별된 기능들만 일괄 테스트 ㅇ main_test.py - suite_algorithm function에 명시된 기능만 테스트 import unittest def _function_list(class_object): return [x for x in class_object.__dict__ if type(class_object.__dict__[x]) == type(_function_list)] def suite_algorithm(): ### Algorithm - Rating from ... import AlgorithmTestcase suite = unittest.TestSuite() suite.addTest(AlgorithmTestcase('test_al_01'..
Develope/Python
2022. 10. 25. 14:07