際際滷

際際滷Share a Scribd company logo
Devsumi 2008 Developer Testing
Devsumi 2008 Developer Testing
Devsumi 2008 Developer Testing
:                (             )
        : http://d.hatena.ne.jp/t-wada
        : takuto.wada@towersquest.jp
Twitter: http://twitter.com/t_wada
?   WEB + DB PRESS
    ?   vol.35        !

    ?   vol.37        !

    ?   vol.42   REST

?   LifeHacks PRESS
?                         (   )

?
?

?
?
?
?   Developer Testing   (TDD)

?
    ?
    ?
    ?
Devsumi 2008 Developer Testing
Developer   Customer     QA
 Testing     Testing   Testing


             (    )

                       (     )
Devsumi 2008 Developer Testing
(   )
1.
2.                  (Red)
3.
4.                (Green)
5.
     (Refactor)
6.
Refactoring
              Green
Red




                      )
                      (
Devsumi 2008 Developer Testing
Write a program that prints the numbers from 1 to 100. But for
multiples of three print ^Fizz ̄ instead of the number and for the
multiples of ?ve print ^Buzz ̄. For numbers which are multiples of
both three and ?ve print ^FizzBuzz ̄.


1       100
3                                            Fizz          5
 Buzz                          3    5                                    FizzBuzz




         http://tickletux.wordpress.com/2007/01/24/using-?zzbuzz-to-?nd-developers-who-grok-coding/
         http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm
?                      (
                                  ´)

?   print       list

?   FizzBuzz

?   3       5



                           http://blogger.ukai.org/2007/09/itpro-challenge.html
?   Eclipse 3.4(Ganymede) Milestone 4
    ?   Subversive
    ?   Quick-JUnit
?   JUnit 4.4
Devsumi 2008 Developer Testing
?
?
?
?
    ?
?       (Fake it)

?         (Triangulation)

?            (Obvious Implementation)
Devsumi 2008 Developer Testing
?
?
?
    ?
    ?
?
?
    ?
    ?
    ?
?
?           ´

    ?                   ?

    ?         0     ?

    ?   Buzz Fizz           ?
Devsumi 2008 Developer Testing
?
?       =>

?   =
?
    ?   Rename (        )

    ?   Extract (   )

    ?   Inline (            )
Devsumi 2008 Developer Testing
?            TDD   ´

    ?
    ?
    ?   !!
Devsumi 2008 Developer Testing
Thank you.

More Related Content

Devsumi 2008 Developer Testing

  • 4. : ( ) : http://d.hatena.ne.jp/t-wada : takuto.wada@towersquest.jp Twitter: http://twitter.com/t_wada
  • 5. ? WEB + DB PRESS ? vol.35 ! ? vol.37 ! ? vol.42 REST ? LifeHacks PRESS ? ( ) ?
  • 7. ? Developer Testing (TDD) ? ? ? ?
  • 9. Developer Customer QA Testing Testing Testing ( ) ( )
  • 11. ( )
  • 12. 1. 2. (Red) 3. 4. (Green) 5. (Refactor) 6.
  • 13. Refactoring Green Red ) (
  • 15. Write a program that prints the numbers from 1 to 100. But for multiples of three print ^Fizz ̄ instead of the number and for the multiples of ?ve print ^Buzz ̄. For numbers which are multiples of both three and ?ve print ^FizzBuzz ̄. 1 100 3 Fizz 5 Buzz 3 5 FizzBuzz http://tickletux.wordpress.com/2007/01/24/using-?zzbuzz-to-?nd-developers-who-grok-coding/ http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm
  • 16. ? ( ´) ? print list ? FizzBuzz ? 3 5 http://blogger.ukai.org/2007/09/itpro-challenge.html
  • 17. ? Eclipse 3.4(Ganymede) Milestone 4 ? Subversive ? Quick-JUnit ? JUnit 4.4
  • 19. ? ? ?
  • 20. ? ? ? (Fake it) ? (Triangulation) ? (Obvious Implementation)
  • 22. ? ? ? ? ?
  • 23. ? ? ? ? ?
  • 24. ? ? ´ ? ? ? 0 ? ? Buzz Fizz ?
  • 26. ? ? => ? =
  • 27. ? ? Rename ( ) ? Extract ( ) ? Inline ( )
  • 29. ? TDD ´ ? ? ? !!