ãããµãå¤ ãB-4ã 2019/07/02 13:15 ï½ 14:00 https://event.shoeisha.jp/devsumi/20190702/session/2077/
ã¿ãªããããã«ã¡ã¯ã@ryuzeeã§ãã SlideShareãå¾å¾ãã¦ãããPHPUnitã®ã¢ã³ããã¿ã¼ã³ã»ãã¹ããã©ã¯ãã£ã¹ã«é¢ããç´ æ´ãããã¹ã©ã¤ããè¦ã¤ããã®ã§å 容ãæç²ã§ç´¹ä»ãã¾ãã 1. ãã¹ãã®ä¸ã§ä½ããã¹ããã¦ããªã class FooTest extends PHPUnit_Framework_TestCase { public function testSomething() { $foo = new Foo; $foo->doSomething(new Bar); } } ãããããã¹ããã©ãã«ãã¢ãµã¼ã·ã§ã³ããªãã¦ä½ããã§ãã¯ãã¦ãã¾ããã $foo->doSomethingã®æ»ãå¤ãæ¤è¨¼ããªããªããªãã®æå³ãããã¾ããã ç´ç²ã«TDDããã¦ããã°ããã¹ãã³ã¼ãä½æâãã¹ãå®è¡ã§Redâãããã¯ã·ã§ã³ã³ã¼ãä½æâãã¹ãå®è¡ã§Greenãªã®ã§ãããããã¹ãã¯ç»å ´ãã¾ã
æåã« ã¡ãã£ã¨æè¿ï¼ãã¿ãã¿ãã¦ã¦ twitter ã ã¨è °ãæ®ãã¦è©±ããªããªã¨æããã®ã§ï¼ã¡ãã£ã¨æè¿ã®TDD è°è«ã«ã¤ãã¦ã¡ããã¨åã®æ°æã¡ãæ¸ãã¦ã¿ããã¨æãã¾ãï¼ ããã¯åã"ä»"æãã¦ãäºã¨ãèãã¦ããäºãæ¸ãã¦ããã ãã§ãã®ã§ï¼èª°ããè«ç ´ãããã¨ãï¼èª°ãã説å¾ãããã¨ããææã¯ç¡ãã§ãï¼ æ¬å½ã«è£ã¨ãã¯ãªãï¼ç´ç²ã«ã"åºå¸åç¹"ã¨ãã人éã¯"ä»ãã®æ"ã«ããããäºãæãã¦ããããäºãèãããã¨ããã ãã§ãï¼ ãã¡ããææ¥ã«ã¯èããå¤ãããããããªããï¼éã«éå»ã®çºè¨ã¨ã¯éãããããã¾ãããï¼ãæè¿ã¯ããæãã¦ãããã¨ããäºãã¡ããã¨æ¸ãã¦ãããã¨æãã¾ããï¼ ãããµãã§ã®çºè¡¨ã«ã¤ã㦠id:babie ããã«ã¡ããã¨è¿äºããã¦ããªãã£ãã®ã§ï¼ã¾ãã¡ããã¨è¿äºããã¦ãããã¨æãã¾ãï¼(é ããªã£ã¦ãã¾ã£ã¦ããã¾ãã) @kakutani ã¯èå³ãªãã¦ãããã®ã¹ã©ã¤ãã 㨠@yosh
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}