Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TDD Boot Camp

TDD Boot Camp

2017年4~5月開催「ブートキャンプ特別講座」の資料になります。

Recruit Technologies

June 02, 2017
Tweet

More Decks by Recruit Technologies

Other Decks in Technology

Transcript

  1. 'J[[#V[[໰୊ 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 five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”. 1͔Β100·Ͱͷ਺ΛϓϦϯτ͢ΔϓϩάϥϜΛॻ͚ɻͨͩ͠3 ͷഒ਺ͷͱ͖͸਺ͷ୅ΘΓʹňFizzʼnͱɺ5ͷഒ਺ͷͱ͖͸ ňBuzzʼnͱϓϦϯτ͠ɺ3ͱ5྆ํͷഒ਺ͷ৔߹ʹ͸ňFizzBuzzʼnͱ ϓϦϯτ͢Δ͜ͱɻ http://tickletux.wordpress.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/ http://www.aoky.net/articles/jeff_atwood/why_cant_programmers_program.htm
  2. © Towersquest, Inc. 2010. all rights reserved. 5%%ಋೖޮՌ .4 *#.

    !38 IBM Driver MS Windows MS MSN MS Visual Studio ιʔείʔυαΠζ (KLOC) 41 6 26 155.2 ςετίʔυαΠζ (KLOC) 28.5 4 23.2 60.3 TDDΛ࠾༻͍ͯ͠ͳ͍ྨࣅϓϩ δΣΫτͰͷܽؕີ౓Λ̍ͱ͠ ͨͱ͖ͷܽؕີ౓ 0.61 0.38 0.24 0.09 TDD࠾༻ʹΑΓ૿Ճͨ͠ίʔυ ࣮૷࣌ؒ(؅ཧऀͷݟੵʹΑΔ) 15ʙ20% 25ʙ35% 15% 20ʙ25% N. Nagappan, M. E. Maximilien, T. Bhat and L. Williams: Realizing quality improvement through test driven development: results and experiences of four industrial teams, Journal of Empirical Software Engineering, vol. 13, pp. 289-302 (2008)
  3. © Towersquest, Inc. 2010. all rights reserved. 5%%ಋೖޮՌ ΤϦΫιϯଞ w

    5%%Λ࣮ࢪͨ͠৔߹ʹใࠂ͞Ε͍ͯΔ஌ݟ ‣ ػೳςετͰͷෆ۩߹ݕग़਺͕࡟ݮ͞Εͨ ‣ ίʔσΟϯά ࣮૷ ͷ͕࣌ؒˋ૿͑ͨ ‣ ςετͷΧόϨοδ͕େ͖͘ͳͬͨ w ඃݧऀΛର৅ͱͨ͠Ξϯέʔτ ‣ ͷඃݧऀ͕σόοάͷ޻਺ΛݮΒ͢ͱײͨ͡ ‣ ͷඃݧऀ͕ཁٻ͕ચ࿅͞ΕΔͱײͨ͡ ‣ ͷඃݧऀ͕ίʔυͷ඼࣭Λ্͛Δͱײͨ͡ ‣ ͷඃݧऀ͕։ൃ޻਺ΛݮΒ͢ͱײͨ͡ !39 Boby George, a and Laurie Williams: A structured experiment of test-driven development, Journal of Information and Software Technology Vol. 46, No. 5, p. 337-342(2004)