ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Day02


        ????
????
?

                                 ???
???
???
?



                                                                                                                                                 1	
 ?
????

u?? ? ????? ??? ?? TDD? ???? ?????.
u?? TDD ? ??? ??? ???, ???? ?????? ?? ??? ???, ??
 ? ?? ???? ?? ??? ?? ?? ??? ?????.




                                                    2	
 ?
                                                ?????
?	
 ?	
 ?	
 ?	
 ?1. ????


          1.? ???? ??

          2.? ?? ?? [??]




                                  3	
 ?
                              ?????
Learning concept


-?   Wisdom over Knowledge

-?   Practice over Seeing

-?   I don¡¯t know what I don¡¯t know

-?   options and guide for good TDD

                                      4
?? ?? ???: 3C


   Consideration
   Communication
   Cooperation

                   5
?? ??
????




        6
???? ? ???? ??

 ?   ?? ??? ?????.
 ?   ??? ??? ??? ???.




                         7
??? ????


 0? ??? ?? ??




                8
???? ?? ??
 ????                                                                                           ???? ??


         ????

         Console ? ? ??
         ??


         ??? ???

                                                        Yes
?
             ?????

                 No
?

         ??!

                                                                                                          9
???? ??
1. ?? ??? ?? ??? ????? ???? ????? ????.

 ¡°???? ????¡±

 ¡°?, ?? ?? ? ?? ????¡±

 ¡°? ??? ?? ??? ?? ?????¡±

2. ?? ??? ????? ??? ?????.

 ¡°??? ?? ????¡±

 ¡°??? ???? ?????¡­¡±




                                          10
???? ??
3. ???? ???? ?????.

 ¡°?! ?? ????!¡±

4. ???? ??? ??? ???.

 ¡°??? ???? ? ?? ???? ??? ?? ?¡­ ?¡­ ?? ????¡±

5. ??? ?? ??? ?? ??? ???? ???? ???? ?? ??? ??.

 ¡°??! ???? ??? ??? ?? ???? ??? ?? ???? ???!!¡±

6. ??? ???? ?? ?? ?? ??? ?? ?? ???? ???? ? ?? ?????
   ? ?? ????? ???? ????.

 ¡°??? 1111. ????? ?? 222222-2222222. ??? ?? ????¡±


                                                      11
???? ??
7. ?? ?? ?? ?? ??? ?? ??? ?? ??? ???.

  ¡°?~ ???. ?? ??? ?? ???! ?, ?? ? ??? ?? ?? ?? ?? ??? ??
  ? ???¡±

8. ???? ???? ????? ??? ??? ?, ???? ?? ??? ??? ? ??.

  ¡°?? ??? ??????, ??? ????? ???? ?? ????? ???¡­¡±

9. ??? ?? ?? ? ?? ?? ?? ???3? ?? ?? ???(rare test)? ?? ??.

  ¡°?, ?? ?? ? ?? ????? ?? ?? ??? ?? ???.
      ?? ? ????¡±




                                                             12
?? ??? ?? ??,
?? ???? ??? ?? ?? ??




                       13
?? ?? ?? ??




              14
OCP
SRP
ISP
Demeter¡¯s Law (=Hollywood law)
IOC


                                 15
?? ? ?? ? ? ?? ?????
Case.1
?   class
?Rental
?{
?
?
?
?
?Movie
?movie;
?
?
?
?
?Rental(Service
?service)
?{
?
?
?
?
?
?
?
?
?this.movie
?=
?service.getMovie();
?
?
?
?
?}
?
                                           }
?
Case.2
?   class
?Rental
?{
?
?
?
?
?Movie
?movie;
?
?
?
?
?Rental(Movie
?movie)
?{
?
?
?
?
?
?
?
?
?this.movie
?=
?movie;
?
?
?
?

More Related Content

What's hot (19)

Tdd with JUnit 1
Tdd with JUnit 1Tdd with JUnit 1
Tdd with JUnit 1
Junyoung Lee
?
C++? TDD
C++? TDDC++? TDD
C++? TDD
?? ?
?
E1_Deview nhn????? tdd_???
E1_Deview nhn????? tdd_???E1_Deview nhn????? tdd_???
E1_Deview nhn????? tdd_???
NAVER D2
?
C++ ?? ?? ?? ??
C++ ?? ?? ?? ??C++ ?? ?? ?? ??
C++ ?? ?? ?? ??
?? ?
?
TDD&Refactoring Day 03: TDD
TDD&Refactoring Day 03: TDDTDD&Refactoring Day 03: TDD
TDD&Refactoring Day 03: TDD
Suwon Chae
?
??? ??? ????? ??? (??: ??? ?)
??? ??? ????? ??? (??: ??? ?)??? ??? ????? ??? (??: ??? ?)
??? ??? ????? ??? (??: ??? ?)
SangIn Choung
?
TDD&Refactoring Day 01: Refactoring
TDD&Refactoring Day 01: RefactoringTDD&Refactoring Day 01: Refactoring
TDD&Refactoring Day 01: Refactoring
Suwon Chae
?
testing for agile?, agile for testing
testing for agile?, agile for testingtesting for agile?, agile for testing
testing for agile?, agile for testing
SangIn Choung
?
[AUG]???? QA? ???? ??? ????
[AUG]???? QA? ???? ??? ????[AUG]???? QA? ???? ??? ????
[AUG]???? QA? ???? ??? ????
?? ?
?
TEST?
TEST?TEST?
TEST?
beom kyun choi
?
??? ???? SW ??
??? ???? SW ????? ???? SW ??
??? ???? SW ??
?? ?
?
??? ?? ?? By googletest 1? ?? ??? ???? money ??
??? ?? ?? By googletest   1? ?? ??? ???? money ????? ?? ?? By googletest   1? ?? ??? ???? money ??
??? ?? ?? By googletest 1? ?? ??? ???? money ??
Mickey SJ Lee
?
Tdd live spring camp 2013
Tdd live spring camp 2013Tdd live spring camp 2013
Tdd live spring camp 2013
beom kyun choi
?
GKAC 2015 Apr. - ??? ???? ?? ??????
GKAC 2015 Apr. - ??? ???? ?? ??????GKAC 2015 Apr. - ??? ???? ?? ??????
GKAC 2015 Apr. - ??? ???? ?? ??????
GDG Korea
?
??? ??? ??_???_???
??? ??? ??_???_?????? ??? ??_???_???
??? ??? ??_???_???
?? ?
?
Work With Engineer
Work With EngineerWork With Engineer
Work With Engineer
Sungchul Park
?
Ui test ????? - Selenium + Jenkins
Ui test ????? - Selenium + JenkinsUi test ????? - Selenium + Jenkins
Ui test ????? - Selenium + Jenkins
Chang Hak Yeon
?
C++? TDD
C++? TDDC++? TDD
C++? TDD
?? ?
?
E1_Deview nhn????? tdd_???
E1_Deview nhn????? tdd_???E1_Deview nhn????? tdd_???
E1_Deview nhn????? tdd_???
NAVER D2
?
C++ ?? ?? ?? ??
C++ ?? ?? ?? ??C++ ?? ?? ?? ??
C++ ?? ?? ?? ??
?? ?
?
TDD&Refactoring Day 03: TDD
TDD&Refactoring Day 03: TDDTDD&Refactoring Day 03: TDD
TDD&Refactoring Day 03: TDD
Suwon Chae
?
??? ??? ????? ??? (??: ??? ?)
??? ??? ????? ??? (??: ??? ?)??? ??? ????? ??? (??: ??? ?)
??? ??? ????? ??? (??: ??? ?)
SangIn Choung
?
TDD&Refactoring Day 01: Refactoring
TDD&Refactoring Day 01: RefactoringTDD&Refactoring Day 01: Refactoring
TDD&Refactoring Day 01: Refactoring
Suwon Chae
?
testing for agile?, agile for testing
testing for agile?, agile for testingtesting for agile?, agile for testing
testing for agile?, agile for testing
SangIn Choung
?
[AUG]???? QA? ???? ??? ????
[AUG]???? QA? ???? ??? ????[AUG]???? QA? ???? ??? ????
[AUG]???? QA? ???? ??? ????
?? ?
?
??? ???? SW ??
??? ???? SW ????? ???? SW ??
??? ???? SW ??
?? ?
?
??? ?? ?? By googletest 1? ?? ??? ???? money ??
??? ?? ?? By googletest   1? ?? ??? ???? money ????? ?? ?? By googletest   1? ?? ??? ???? money ??
??? ?? ?? By googletest 1? ?? ??? ???? money ??
Mickey SJ Lee
?
Tdd live spring camp 2013
Tdd live spring camp 2013Tdd live spring camp 2013
Tdd live spring camp 2013
beom kyun choi
?
GKAC 2015 Apr. - ??? ???? ?? ??????
GKAC 2015 Apr. - ??? ???? ?? ??????GKAC 2015 Apr. - ??? ???? ?? ??????
GKAC 2015 Apr. - ??? ???? ?? ??????
GDG Korea
?
??? ??? ??_???_???
??? ??? ??_???_?????? ??? ??_???_???
??? ??? ??_???_???
?? ?
?
Ui test ????? - Selenium + Jenkins
Ui test ????? - Selenium + JenkinsUi test ????? - Selenium + Jenkins
Ui test ????? - Selenium + Jenkins
Chang Hak Yeon
?

Viewers also liked (9)

[2012 01 28]cleancode 3?
[2012 01 28]cleancode 3?[2012 01 28]cleancode 3?
[2012 01 28]cleancode 3?
Jong Pil Won
?
[2016-03-09] TDD on Spring ~ ??? TDD ~
[2016-03-09] TDD on Spring ~ ??? TDD ~[2016-03-09] TDD on Spring ~ ??? TDD ~
[2016-03-09] TDD on Spring ~ ??? TDD ~
Ashal aka JOKER
?
Tdd ? ??? ????
Tdd ? ??? ????Tdd ? ??? ????
Tdd ? ??? ????
Jaehoon Oh
?
??? ??? ????? ??? TDD?? ?? (Testable design and TDD)
??? ??? ????? ??? TDD?? ?? (Testable design and TDD)??? ??? ????? ??? TDD?? ?? (Testable design and TDD)
??? ??? ????? ??? TDD?? ?? (Testable design and TDD)
Suwon Chae
?
????????? ???????????
????????? ???????????????????? ???????????
????????? ???????????
YongEun Choi
?
[2012 01 28]cleancode 3?
[2012 01 28]cleancode 3?[2012 01 28]cleancode 3?
[2012 01 28]cleancode 3?
Jong Pil Won
?
[2016-03-09] TDD on Spring ~ ??? TDD ~
[2016-03-09] TDD on Spring ~ ??? TDD ~[2016-03-09] TDD on Spring ~ ??? TDD ~
[2016-03-09] TDD on Spring ~ ??? TDD ~
Ashal aka JOKER
?
??? ??? ????? ??? TDD?? ?? (Testable design and TDD)
??? ??? ????? ??? TDD?? ?? (Testable design and TDD)??? ??? ????? ??? TDD?? ?? (Testable design and TDD)
??? ??? ????? ??? TDD?? ?? (Testable design and TDD)
Suwon Chae
?
????????? ???????????
????????? ???????????????????? ???????????
????????? ???????????
YongEun Choi
?

Similar to TDD&Refactoring Day 02: TDD (20)

???? ??? ??? ?? (??????? 3? 2?)
???? ??? ??? ?? (??????? 3? 2?)???? ??? ??? ?? (??????? 3? 2?)
???? ??? ??? ?? (??????? 3? 2?)
SangIn Choung
?
????? ???
????? ???????? ???
????? ???
?? ?
?
???? 1?qa?????6????
???? 1?qa?????6???????? 1?qa?????6????
???? 1?qa?????6????
SangIn Choung
?
???? Xxx? ???? ?? ????
???? Xxx? ???? ?? ???????? Xxx? ???? ?? ????
???? Xxx? ???? ?? ????
?? ?
?
??? ??
??? ????? ??
??? ??
?? ?
?
???? ???
???? ??????? ???
???? ???
KH Park (???)
?
EMOCON 2015 - ??? ???? ???
EMOCON 2015 - ??? ???? ???EMOCON 2015 - ??? ???? ???
EMOCON 2015 - ??? ???? ???
?????
?
Learning Unit Testing with Pair Programming
Learning Unit Testing with Pair ProgrammingLearning Unit Testing with Pair Programming
Learning Unit Testing with Pair Programming
Jongchan Kim
?
??? ???? ???_?????? ??? ???_ausg_20170824
??? ???? ???_?????? ??? ???_ausg_20170824??? ???? ???_?????? ??? ???_ausg_20170824
??? ???? ???_?????? ??? ???_ausg_20170824
AWSKRUG - AWS???????
?
Tdd
TddTdd
Tdd
savemyface
?
[H3 2012] ??? ??? ?? ??? ???
[H3 2012] ??? ??? ?? ??? ???[H3 2012] ??? ??? ?? ??? ???
[H3 2012] ??? ??? ?? ??? ???
KTH, ??????
?
?????? TDD ???
?????? TDD ????????? TDD ???
?????? TDD ???
Sehun Kim
?
TDD - ??? ??? ????
TDD - ??? ??? ????TDD - ??? ??? ????
TDD - ??? ??? ????
?? ?
?
??????? TDD
??????? TDD??????? TDD
??????? TDD
Sunghyouk Bae
?
?? ???? ?? ??? ?? ?????? ??? ?? ? ????
?? ???? ?? ??? ?? ?????? ??? ?? ? ?????? ???? ?? ??? ?? ?????? ??? ?? ? ????
?? ???? ?? ??? ?? ?????? ??? ?? ? ????
Woogon Shim
?
????? ??, ??? ??? ??
????? ??, ??? ??? ??????? ??, ??? ??? ??
????? ??, ??? ??? ??
Mijeong Park
?
??? S/W ??
??? S/W ????? S/W ??
??? S/W ??
?? ?
?
Testing & refactoring
Testing & refactoringTesting & refactoring
Testing & refactoring
Lim Hosung
?
?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)
?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)
?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)
Kay Kim
?
DebugIt/chapter1~4
DebugIt/chapter1~4DebugIt/chapter1~4
DebugIt/chapter1~4
stupidfox
?
???? ??? ??? ?? (??????? 3? 2?)
???? ??? ??? ?? (??????? 3? 2?)???? ??? ??? ?? (??????? 3? 2?)
???? ??? ??? ?? (??????? 3? 2?)
SangIn Choung
?
????? ???
????? ???????? ???
????? ???
?? ?
?
???? Xxx? ???? ?? ????
???? Xxx? ???? ?? ???????? Xxx? ???? ?? ????
???? Xxx? ???? ?? ????
?? ?
?
??? ??
??? ????? ??
??? ??
?? ?
?
EMOCON 2015 - ??? ???? ???
EMOCON 2015 - ??? ???? ???EMOCON 2015 - ??? ???? ???
EMOCON 2015 - ??? ???? ???
?????
?
Learning Unit Testing with Pair Programming
Learning Unit Testing with Pair ProgrammingLearning Unit Testing with Pair Programming
Learning Unit Testing with Pair Programming
Jongchan Kim
?
??? ???? ???_?????? ??? ???_ausg_20170824
??? ???? ???_?????? ??? ???_ausg_20170824??? ???? ???_?????? ??? ???_ausg_20170824
??? ???? ???_?????? ??? ???_ausg_20170824
AWSKRUG - AWS???????
?
[H3 2012] ??? ??? ?? ??? ???
[H3 2012] ??? ??? ?? ??? ???[H3 2012] ??? ??? ?? ??? ???
[H3 2012] ??? ??? ?? ??? ???
KTH, ??????
?
TDD - ??? ??? ????
TDD - ??? ??? ????TDD - ??? ??? ????
TDD - ??? ??? ????
?? ?
?
?? ???? ?? ??? ?? ?????? ??? ?? ? ????
?? ???? ?? ??? ?? ?????? ??? ?? ? ?????? ???? ?? ??? ?? ?????? ??? ?? ? ????
?? ???? ?? ??? ?? ?????? ??? ?? ? ????
Woogon Shim
?
??? S/W ??
??? S/W ????? S/W ??
??? S/W ??
?? ?
?
Testing & refactoring
Testing & refactoringTesting & refactoring
Testing & refactoring
Lim Hosung
?
?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)
?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)
?? ??? ?? ?? (Agile Game Agile Game Development From The Trenches)
Kay Kim
?
DebugIt/chapter1~4
DebugIt/chapter1~4DebugIt/chapter1~4
DebugIt/chapter1~4
stupidfox
?

TDD&Refactoring Day 02: TDD