Pytest basic
·
인공지능/Python
우리는 왜 pytest를 사용해야하는가?Intuitive Syntex : pytest offers readable, expressive way to write tests.Powerful Fixtures : Easily set up and tear down test environments with fixturesRich Plugin Ecosystem : Extend pytest's capabilities with a wide range of plugins 사용법설치 : pip install pytest테스트 파일 명명 : *_test.py or test_*.py (*은 문구)테스트 함수 명명 : test_*  라는 이름으로 명명 (*은 문구)클래스 이름 명명 : Test* 라는 이름으로 명명 (*은 문구)..
Python 프로그래밍 시 필요한 개념
·
인공지능/Python
Virutal Environment를 활용하여 독립적인 환경을 구축하고, 해당 환경 내에서 Package를 구성할 것. Packages DefintionSelf-contained collections of Python modules, libraries, and other resources that provide reusable functionality for your projects ModularityPackages break down complex code into manageable units, making projects easier to organize and maintain. CollaborationPackage facilitate code sharing and collaboration, sav..