39. System Behavior Module / Design
What to do How to do
with UnitTest
test for
13년 6월 11일 화요일
40. System Behavior Module / Design
What to do How to do
with
Specification
UnitTest
test for
13년 6월 11일 화요일
41. System Behavior Module / Design
What to do How to do
with
Specification Implementation
UnitTest
test for
13년 6월 11일 화요일
42. System Behavior Module / Design
“상수시간 내에 응답해야한다”
What to do How to do
with
Specification Implementation
UnitTest
test for
13년 6월 11일 화요일
43. System Behavior Module / Design
“상수시간 내에 응답해야한다” “Cache는 LRU정책을 따른다”
What to do How to do
with
Specification Implementation
UnitTest
test for
13년 6월 11일 화요일
44. “The Rspec book”,
David Chelimsky
with Dave Astels,
Zach Dennis,
Aslak Hellesoy,
Bryan Helmkamp,
and Dan North
13년 6월 11일 화요일
45. “The Rspec book”,
David Chelimsky
with Dave Astels,
Zach Dennis,
Aslak Hellesoy,
Bryan Helmkamp,
and Dan North
cucumber는 명세레벨 테스팅
unit test는 모듈레벨 테스팅
13년 6월 11일 화요일
65. pom.xml 에 dependency 추가
junit과 연동
java를 쓸 경우 필수
spring F/W과 연동
주의) junit은 4.11 이상을 쓸것 (junit 4.8에서 오류 있음)
주의) cucumber-jvm 최신은 1.1.3이지만, pretty formatter 이슈가 있어서 1.1.2를
사용
13년 6월 11일 화요일
81. Refining specification
• Examples should be precise and testable
• Scripts are not specifications
• Don’t create flow-like descriptions
• Specifications should be about business functionality, not software
design
• Avoid writing specifications that are tightly coupled with code
• Don’t get trapped in user interface details
• Specifications should be self-explanatory
• Specifications should be focused
• Specifications should be in domain language
“Specification by Example”, Gojko Adjic
13년 6월 11일 화요일