Tests are never a guarantee that your program is correct!
"Program testing can be used to show the presence of bugs, but never to show their absence!"
- Edsger W. Dijkstra
white box testing - unittest
black box testing
Snapshot testing
https://jestjs.io/docs/snapshot-testing
Snapshot Testing · Jest
Snapshot tests are a very useful tool whenever you want to make sure your UI does not change unexpectedly.
jestjs.io
'CS > Python&R' 카테고리의 다른 글
5 Tips For Object-Oriented Programming Done Well - In Python (0) | 2022.06.04 |
---|---|
Test-Driven Development In Python // The power of red-green-refactor (0) | 2022.06.01 |
파이썬 멀티 프로세싱 - 야단법썬 (0) | 2022.05.30 |
How To Write Unit Tests For Existing Python Code // Part 1 of 2 (0) | 2022.05.29 |
[더 나은 파이썬 코드] None 보다는 예외 | 문서화, 모듈, 타입 (0) | 2022.05.29 |
댓글