codestates / codestates/ds-TIL
[TIL] 문승태 - 201113
- Dominant language
- No language data
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Month 3 - 여정의 시작
# class, # self, # __init__, # testing, #object, # instance, #method
오늘 배운 것:
1. Testing
- unittest/pytest를 통해 코드를 자동으로 테스트하는 법
2. Class
- 클래스의 인스턴스를 불러오는 법
- __init__을 사용하여 클래스를 초기화
- self를 통해 클래스의 인스턴스를 객체로 매소드 활용시, 입력된 인자들을 사용하기 전에 먼저 불러오기
앞으로의 과제:
- Test 스크립트를 쓸 수 있도록 전반 적인 파이썬의 테스트 과정을 이해하도록 노력해야겠다.
- 모든 문제에서 Test의 요구사항들을 잘 파악할 수 있도록 노력해야겠다.
- 클래스를 잘 사용할 수 있도록 연습을 많이 해 보아야겠다.
그 외 느낀 점:
- self, __init__ 등을 사용하는 이유에 대해 알았지만, 좀 더 많이 연습해야 와 닿을 것 같다.
- 테스트를 하기 위해 요구사항을 정확하게 이해하는 것이 중요하다고 느꼈다.
- 코딩 연습을 많이 해 보아야 GIt, 클래스 및 테스팅의 관련 개념들이 좀 더 잘 소화될 것 같다.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue body is a Korean TIL entry about Python testing, classes, instances, methods, self, and __init__. No files, tests, or entry points are named, and the issue does not request a specific change. Review the repository’s TIL contribution conventions first; the intended result is not defined by the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100