Skip to content
/ ATDD Public

๐Ÿงช ์ธ์ˆ˜ ํ…Œ์ŠคํŠธ ์ฃผ๋„ ๊ฐœ๋ฐœ(Acceptance Test Driven Development) ์ €์žฅ์†Œ์ž…๋‹ˆ๋‹ค.

Notifications You must be signed in to change notification settings

currenjin/ATDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ATDD

์ธ์ˆ˜ ํ…Œ์ŠคํŠธ ์ฃผ๋„ ๊ฐœ๋ฐœ(Acceptance Test Driven Development, ATDD)์€ ๋น„์ฆˆ๋‹ˆ์Šค ๊ณ ๊ฐ, ํ…Œ์Šคํ„ฐ, ๊ฐœ๋ฐœ์ž ๊ฐ„์˜ ์ปค๋ฎค๋‹ˆ์ผ€์ด์…˜์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•˜๋Š” ๊ฐœ๋ฐœ ๋ฐฉ๋ฒ•๋ก ์ž…๋‹ˆ๋‹ค.

What is Acceptance?

  • ์ธ์ˆ˜๋ฐ›๋‹ค์˜ ๊ทธ ์ธ์ˆ˜(acceptance)์ž…๋‹ˆ๋‹ค.
  • ์†Œํ”„ํŠธ์›จ์–ด๊ฐœ๋ฐœ์„ ์˜๋ขฐํ•˜๊ณ  ๊ฒฐ๊ณผ๋ฌผ์„ ์ธ์ˆ˜๋ฐ›๋Š”๋‹ค๋Š” ์˜๋ฏธ์ฃ .

Acceptance Criteria

  • ์ธ์ˆ˜ํ•˜๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์ž…๋‹ˆ๋‹ค.

Example

AC : ๊ฐ•์‚ฌ๋Š” ๊ฐ•์˜๋ฃŒ ํ™˜๋ถˆ์„ ํ•ด์ฃผ๊ธฐ ์œ„ํ•ด ์ˆ˜๊ฐ•์ƒ์˜ ์ˆ˜๊ฐ•์„ ์ทจ์†Œํ•  ์ˆ˜ ์žˆ๋‹ค.

  • given: ์ˆ˜๊ฐ•์ƒ์ด ์ˆ˜๊ฐ• ์‹ ์ฒญ์„ ํ•˜์˜€๋‹ค, ๊ณผ์ •์˜ ๋‚จ์€ ๊ธฐ๊ฐ„์ด ์ ˆ๋ฐ˜ ์ด์ƒ์ด๋‹ค.
  • when: ๊ฐ•์‚ฌ๋Š” ํŠน์ • ์ˆ˜๊ฐ•์ƒ์˜ ์ˆ˜๊ฐ• ์ƒํƒœ๋ฅผ ์ทจ์†Œ ์š”์ฒญ์„ ํ•œ๋‹ค.
  • then: ํŠน์ • ์ˆ˜๊ฐ•์ƒ์˜ ์ˆ˜๊ฐ• ์ƒํƒœ๊ฐ€ ์ทจ์†Œ ๋œ๋‹ค, ํŠน์ • ์ˆ˜๊ฐ•์ƒ์˜ ๊ฒฐ์ œ ๋‚ด์—ญ์ด ํ™˜๋ถˆ ๋œ๋‹ค.

์กฐ๊ฑด ์ž‘์„ฑ ์ˆœ์„œ

  1. ๊ฒ€์ฆํ•˜๊ณ ์ž ํ•˜๋Š” When ๊ตฌ๋ฌธ์„ ๋จผ์ € ์ž‘์„ฑ
  2. ๊ธฐ๋Œ€ ๊ฒฐ๊ณผ๋ฅผ ์˜๋ฏธํ•˜๋Š” Then ๊ตฌ๋ฌธ์„ ์ž‘์„ฑ
  3. When ๊ณผ Then ์— ํ•„์š”ํ•œ ์ •๋ณด๋ฅผ Given ์—์„œ ์ž‘์„ฑ

Acceptance Test

  • ์ธ์ˆ˜ ์กฐ๊ฑด์„ ์œ„ํ•œ ํ…Œ์ŠคํŠธ์ž…๋‹ˆ๋‹ค.
  • ์‚ฌ์šฉ์ž ๊ด€์ , ์ฆ‰ ์‹œ์Šคํ…œ์˜ ์™ธ๋ถ€ ๊ด€์ ์—์„œ ์ด๋ฃจ์–ด์ง‘๋‹ˆ๋‹ค. ํŠน์ • ์ž…๋ ฅ์ด ์ฃผ์–ด์ง€๋ฉด ์‹œ์Šคํ…œ์˜ ์˜ฌ๋ฐ”๋ฅธ ์ถœ๋ ฅ์„ ์ง€์ •ํ•˜๋Š” ๊ฒƒ๊ณผ ๊ฐ™์ด ์™ธ๋ถ€์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋Š” ํšจ๊ณผ๋ฅผ ๋ฆฌ์ŠคํŠธ์—…ํ•ฉ๋‹ˆ๋‹ค.
  • ์˜ˆ๋ฅผ ๋“ค๋ฉด, ์ฃผ๋ฌธ์ด ์ง€๋ถˆ์—์„œ ๋ฐฐ์†ก๋จ์œผ๋กœ ๋ฐ”๋€Œ๋Š” ๊ฒƒ๊ณผ ๊ฐ™์ด ์ƒํƒœ๊ฐ€ ์–ด๋–ป๊ฒŒ ๋ณ€๊ฒฝ๋˜๋Š”์ง€ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

About

๐Ÿงช ์ธ์ˆ˜ ํ…Œ์ŠคํŠธ ์ฃผ๋„ ๊ฐœ๋ฐœ(Acceptance Test Driven Development) ์ €์žฅ์†Œ์ž…๋‹ˆ๋‹ค.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages