테스트는 MVC 역할의 출력 계약에 맞춘다

controller test가 HTML 전체를, view test가 DB query를 검증하지 않게 범위를 고른다.

Controller input

request parameter·command

Controller output

view name·model 값

View input

완성된 page model

View output

필수 element·escape 결과