Skip to content

Instantly share code, notes, and snippets.

@marocchino
Created March 18, 2011 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marocchino/876559 to your computer and use it in GitHub Desktop.
Save marocchino/876559 to your computer and use it in GitHub Desktop.
# language : ko
#UI관련 태스팅에 자주보이는 패턴.
#사실은 어떤 화면에 가는것도 유저 액션이니까 조건(Given)보단 만일(When)이 적절하다.
기능: UI안티패턴
좋은 태스트 코드를 쓰기 위해
프로그래머로써
공부한다.
시나리오: 나쁨
조건 어떤 화면에가면
그러면 이하의 세부사항이 보임:
시나리오: 좋음
조건 나는 데이터를 가지고 있고
만일 어떤 화면에 가면
그러면 이하의 세부사항이 보임:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment