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

LaravelでTDDを体験しよう #phpcon2018

omoon
December 15, 2018

LaravelでTDDを体験しよう #phpcon2018

PHPカンファレンス2018発表資料です。

omoon

December 15, 2018
Tweet

More Decks by omoon

Other Decks in Technology

Transcript

  1. ʮགྷΔΜͩΑʯ ʮԻָͷ໐͍ͬͯΔؒ͸ͱʹ͔͘གྷΓଓ͚ΔΜͩɻ͓͍Βͷݴ͍ͬͯΔ͜ͱ͸Θ͔Δ͔͍ʁ གྷΔΜͩɻགྷΓଓ͚ΔΜͩԿނགྷΔ͔ͳΜͯߟ͑ͪΌ͍͚ͳ͍ɻҙຯͳΜͯ͜ͱ͸ߟ͑ͪΌ ͍͚ͳ͍ɻҙຯͳΜͯ΋ͱ΋ͱͳ͍ΜͩɻͦΜͳ͜ͱߟ͑ͩͨ͠Β଍͕ఀ·ΔɻҰ౓଍͕ ఀ·ͬͨΒɺ΋͏͓͍Βʹ͸Կͱ΋ͯ͋͛͠ΒΕͳ͘ͳͬͯ͠·͏ɻ͋Μͨͷܨ͕Γ͸΋ ͏Կ΋ͳ͘ͳͬͯ͠·͏ɻӬԕʹͳ͘ͳͬͯ͠·͏ΜͩΑɻͦ͏͢Δͱ͋Μͨ͸ͬͪ͜ͷ ੈքͷதͰ͔͠ੜ͖͍͚ͯͳ͘ͳͬͯ͠·͏ɻͲΜͲΜͬͪ͜ͷੈքʹҾ͖ࠐ·Εͯ͠· ͏Μͩɻ͔ͩΒ଍ΛఀΊͪΌ͍͚ͳ͍ɻͲΕ͚ͩഅࣛഅࣛ͘͠ࢥ͑ͯ΋ɺͦΜͳ͜ͱؾʹ ͪ͠Ό͍͚ͳ͍ɻ͖ͪΜͱεςοϓΛ౿ΜͰགྷΓଓ͚ΔΜͩΑɻͦͯ͠ݻ·ͬͯ͠·ͬͨ ΋ͷΛগͣͭ͠Ͱ΋͍͍͔Β΄͙͍ͯ͘͠ΜͩΑɻ·ͩख஗Εʹͳ͍ͬͯͳ͍΋ͷ΋͋Δ

    ͸ͣͩɻ࢖͑Δ΋ͷ͸શ෦࢖͏ΜͩΑɻϕετΛਚ͘͢ΜͩΑɻා͕Δ͜ͱ͸Կ΋ͳ͍ɻ ͋Μͨ͸͔ͨ͠ʹർΕ͍ͯΔɻർΕͯɺڴ͍͑ͯΔɻ୭ʹͰ΋ͦ͏͍͏͕࣌͋ΔɻԿ΋͔ ΋͕ؒҧ͍ͬͯΔΑ͏ʹײ͡ΒΕΔΜͩɻ͔ͩΒ଍͕ఀ·ͬͯ͠·͏ʯ ʮͰ΋གྷΔ͔͠ͳ͍ΜͩΑʯ ʮͦΕ΋ͱͼ͖ͬΓ্ख͘གྷΔΜͩɻΈΜͳ͕ײ৺͢Δ͘Β͍ʹɻͦ͏͢Ε͹͓͍Β΋͋ Μͨͷ͜ͱΛɺख఻ͬͯ͋͛ΒΕΔ͔΋͠Εͳ͍ɻ͔ͩΒགྷΔΜͩΑɻԻָͷଓ͘ݶΓʯ ΦυϧϯμϤɻΦϯΨΫϊπρΫΧΪϦɻ —μϯεɾμϯεɾμϯεʢଜ্य़थʣ
  2. 5P%PϦετ w ABQJDVTUPNFSTAʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJDVTUPNFSTAʹ1045ϝιουͰΞΫηεͰ͖Δ w ABQJDVTUPNFST\DVTUPNFS@JE^Aʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJDVTUPNFST\DVTUPNFS@JE^Aʹ165ϝιουͰΞΫηεͰ͖Δ w

    ABQJDVTUPNFST\DVTUPNFS@JE>Aʹ%&-&5&ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUTAʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUTAʹ1045ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUT\SFQPSU@JE^Aʹ(&5ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUT\SFQPSU@JE^Aʹ165ϝιουͰΞΫηεͰ͖Δ w ABQJSFQPSUT\SFQPSU@JE>Aʹ%&-&5&ϝιουͰΞΫηεͰ͖Δ