좋은 테스트
애플리케이션 코드와 테스트코드의 지속적 통합발전
enforces you to write cleaner code since complex functions are hard to test
splitting codes by standalone logic chunk is always recommended.
only test your code
test things that you can control
don't test 3rd party code
don't test node.js, browser api, api request itself
test your reaction to the response from api
Logical separation needed
arrange
act
assert
One feature or One behavior.