ãTDD(ãã¹ãé§åéçº)ã£ã¦ã©ã®ããã使ããã¦ããã§ããï¼ãã¨èããããã¨ãããã¾ããããã¯ã§ããã俺ã ã£ã¦ç¥ããããã¼ï¼ã¨ããããã§ããTDDã®çµé¨ã¨ç¾ç¶ã«ã¤ãã¦ãã¨ããã¢ã³ã±ã¼ããä½ãã¾ããã
10/23ã®æ®µéã§83件ã®åçãããã¾ããããããã¨ããããã¾ããTDD人æ°ããã¾ãããä¸éå ±åã¨ãã¦ãããã¾ã§ã®åçãå ¬éãããã¨æãã¾ããå§ããææã¨ç¾å¨ã®ç¶æ³ã®ã°ã©ãã§ãã
åçå
¨ä½ã®ãµããªã¯ãã¡ãã§è¦ããã¾ã(åçããã¨ãã«è¦ãããã®ã¨åãã§ã)ããªãããã¡ãã¯éææ´æ°ãããã®ã§ãæ¬ã¨ã³ããªã®å
容ã¨ä¸è´ããªãããããã¾ããã
https://docs.google.com/forms/d/1pb29VBqO-kd10ks_x9oqvkMUy5rDW4nMoDnBPVM85yc/viewanalytics
â»ã¢ã³ã±ã¼ãã¯ã¾ã ã¾ã åä»ä¸ã§ãããã¡ãããã©ããâ http://goo.gl/forms/fbWsZmH3El
åæãã¦ã¿ã
2年以ä¸ãã£ã¦ãã人ã50%以ä¸ãæè¿å§ãã人ã¯æå¤ã¨å°ãªã(1年以å ã10ï¼ )ã¨ããå°è±¡ã§ããç¾ç¶ã¯ãããã使ã£ã¦ãããã¯ã以åã»ã©ã§ã¯ãªãããå«ããã¨ç´50%ã§ãã大éæã«è¨ãã°ãé·ã使ã£ã¦ããã使ãç¶ãã¦ãã人ãç¸å½æ°ããã¨è¨ãããã§ãã(ãã ãã¢ã³ã±ã¼ãã«åçãã¦ãããæ¹ããæ¥çå ¨ä½(æ¯éå£)ãåããªã代表ãã¦ããã¨ããæ ¹æ ã¯ãªãã®ã§ããããããã¨ãã以ä¸ã®ãã¨ã¯è¨ãã¾ããããã©ã)
ä»åãã®ãããªã¢ã³ã±ã¼ããæ¡ã£ã¦ããã®ã¯ãTDDæ¬å½ã«ä½¿ã£ã¦ãã®ï¼æå¤ã¨è¾ãã¡ãã£ã¦ããããªãï¼ã¨æã£ãããã§ããTDDã«ã¤ãã¦(ç¹ã«ä»å¹´ã¯)è°è«ãããã¾ãããè°è«ã¯è°è«ã¨ãã¦ãç¾å ´ã¯ã©ããªã®ãã
ããã²ã¨ã¤ãèªåã®ãã¨ãæ¯ãè¿ãã¨ã以åã»ã©TDDãã¦ãªããªãã¨æãã¾ããããã¯ãã³ã¼ãæ¸ãã¦ãªãããâ¦â¦ããããªããããããªãããã§ãæ¸ãã¨ãã§ãããã£ã±ã以åã®ãããª100%TDDã¯ãã£ã¦ãªãããªãã ããããæãã¤ããçç±ã¯2ã¤ã§ãã
- ä½ã§ãããã§ãTDDã§ã¯ãªããå¹æçã«ä½¿ããã¤ã³ãããããããã«ãªã£ãã
- ä¾: Webã¢ããªã¯ã¨ã³ããã¼ã¨ã³ãã§ãã¹ããããã(Selenium Driverã¨ã)
- ä¾: éçãã¼ã¿æ§é ã¯TDDããã¾ãæå³ãªããã
- TDDã¯å®ã¯å¦ç¿ã®ãã¼ã«ã ã£ããä»ã¯å¦ç¿ãããã¨ãæ¸ã£ã(ã³ã¼ãã£ã³ã°ã«ã¤ãã¦)ã
- ä¾: TDDã®ãããã§ãã¶ã¤ã³ãã¿ã¼ã³ã使ããããã«ãªã£ãããä»ã¯TDDãªãã¦ã使ãã
- ä¾: SQLAlchemyã£ã¦ã©ã使ãããããTDDã¹ã¿ã¤ã«ã§å®é¨ãã¦ã¿ããã
ä»ã®äººã¯ã©ãã ããï¼ç¹ã«2çªã®çç±ã£ã¦ããå¾ããã ãããï¼ãã®æ¤è¨¼ããã¢ã³ã±ã¼ãã®ããä¸ã¤ã®çãã§ãã
æéã¨ä½¿ç¨åº¦åãã®ç¸é¢ã¯ï¼
TDDãå§ãã¦ããã®æéã¨ãç¾å¨ã®ä½¿ç¨åº¦åãã®é¢ä¿ã調ã¹ã¦ã¿ã¾ããããã¡ããçµæã®ã°ã©ãã§ãã
注ç®ãããã®ã¯ãªã¬ã³ã¸ã¨èµ¤ã®é¨åã§ããããã¾ã«ãã使ããªããã以åã»ã©ã§ã¯ãªãããã2ã5å¹´ã®ã¨ããã§å¢ãã¦ãã¾ã(1年以å ã¯ãã¼ã¿æ°ã8件ã¨å°ãªãã®ã§ã¨ããããç¡è¦)ã5年以ä¸ã§ã¯ãç¾å¨ããã使ãããå¢ãã¦ãã¾ããããªã¬ã³ã¸ã®ããã¾ã«ãã使ããªãããå¢ãã¦ãã¾ã(ã°ã©ãã ã¨è¦é£ããã18%â24%â26%)ãTDDã®çµé¨å¹´æ°ãé·ãã¨ãããã¾ã«ãã使ããªãã人ãå¢ããå¾åãããããã§ã(ããã¨ä¹±æ´ã§ããã©)ã
ããã«ãçç±ãç°¡åã«è¦ã¦ã¿ã¾ããããå®è£ ããªããªã£ãããä»ã®ä»äºã§ã¯TDDå°é£ããªã©ç°å¢è¦å ãé¤ãã¨ãTDDã使ãã»ä½¿ããªãçç±ãå°ãè¦ãã¦ãã¾ãã2年以ä¸ã®åçããã代表çãªãã®ãããã¤ãç´¹ä»ãã¾ãã
- ç¾å¨ããã使ã£ã¦ãããã以åã»ã©ã§ã¯ãªã
- èªæã§ããäºã¨ããã§ãªããã®ã®åºåããã§ããããã«ãªã£ãã
- ã³ã¼ãã£ã³ã°ãé²ãã¦ãããä¸å®ãªç®æãTDDããçTDDã¨ã®ã¤ããããããå¤ãã£ãã
- è¨èªã¹ã¤ãããå¢ããä»è¨èªã®ã¦ããããã¹ãã調ã¹ãªããã°ä½¿ãããã³ã¹ããé«ããªã£ãã
- æåã¯åå¼·ãæè½ã®åä¸ãæå³ãã¦ãæèçã«TDDãè¡ãããã«ãã¦ãããã使ç¨æ©ä¼ãå¤ãã£ããç¾å¨ã¯ã§ã¯TDDã®å¾æãªæãä¸å¾æãªæããããããã«ãªãã使ãæã®ã¿ã§ä½¿ãããã«ãªã£ã¦ããã
- æç§æ¸éãã«ããã¨ç²ãããããæä½éã®ãã¹ãã³ã¼ãã§ãæ大éã®å¹æãåºãããã«ãªã£ãã ã
- ç¾å¨ã¯ãã¾ã«ãã使ããªã
- æ¦ã"TDD is Dead"ã«æ¸ããã¦ããéãã§ããRailsã§éçº(ç¥)ã¨ããäºæ ãããããããã¾ãããã以åã»ã©UnitTestãTestFirstã§æ¸ãã¨ãã£ããã¨ã¯ãªããªãã¾ãããä»ã¯ã(ç¥)UnitTestãæ¸ãã®ã¯ä»æ§ãè¤éãªModelã®å¦çã®å ´åã®ã¿(ç¥) ãã ãæè²çãªæå³åãã§ãåãã¯ãã£ããUnitTestãæ¸ãã¦ãã ãããã¨æå°ãããã¨ã¯ããã®ã§ãã¹ãã«ã®åå°ã¨ãã¦ã®TDDã¯å¿ è¦ã¨ããèªèã§ãã
- TDDãç¨ããã¨ãã®è¨è¨ã®åæãèªç¶ã¨æèã§ããããã«ãªã£ããã¨
- çµ±åãã¹ããéè¦ããããã«ãªãããã¡ãã«ãã¹ããæ¸ãã¨ããã³ã¹ãããããããã«ãªã£ããã
- å ¨ã¦ãTDDã®ãµã¤ã¯ã«ã«ä¹ããã¨ã¹ã±ã¸ã¥ã¼ã«çãªç¡çãçããå ´åãæãã
- ã½ããã¦ã§ã¢ã®å¯¿å½ãçããªã£ã¦é »ç¹ã«å¤æ´ããªãé¨åã«ã¾ã§ãã¹ããæ¸ãã¡ãªããããªããªã£ãã®ã§æãæ°å³ã«ãã£ã¦ããã
- TDDãæå¹ãªå ´ã§ã¯TDDã§éçºãã¾ãããããã§ãªããªãå¥ã®ã¢ããã¼ãã使ãã¾ããé©æé©æã
- ç¾å¨ã¯ã¾ã£ãã使ããªã
- ã©ããªã¯ã©ã¹ã®I/Oã«ããã°è¯ããå®ã¾ããªãã¾ã¾å®è£ ãå§ãã¦ãã¾ããããåºåãããããªãã¾ã§(I/Oãå®ã¾ãã¾ã§)xUnitã¯æ¸ãã¦ããªãã
- ãã製é ãå§ããã¨è¨è¨ä¸åã«ããä»æ§å¤æ´ãå¤çºããããããã¹ããå ã«ä½ã£ã¦ããã¨ææ»ããå¤ãããã
- ã¢ãã¯ã®è¨è¿°ãé常ã«é¢åãã¢ã¸ã¥ã¼ã«ä¸ã®ã©ã®ã¡ã½ãããä½åç®ã«å¼ã°ãã¦ä½ãè¿ãã¨ãã製é çµäºã¾ã§åãã訳ããªãã
- ãã¹ããåãã°ãããã¨ããã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ãè延ãããã°ãå¤çºããã
(ãªãåçã®çãã¼ã¿ã®ãªã³ã¯ãæ«å°¾ã«è¼ãã¦ãã¾ããããã«ãªãçç±å«ããå ¨åçããã®ã¾ã¾è¦ããã¾ãã)
ã¾ããçç±ãã«ãã´ãªã«åé¡ãã¦åå¸ã調ã¹ã¦ã¿ã¾ããã
çç± | 2ã5å¹´å | 5年以ä¸å | è¨ |
---|---|---|---|
ç°å¢ | 6 (75%) | 2 (25%) | 8 (100%) |
é©æ | 4 (40%) | 6 (60%) | 10 (100%) |
æ£å´ | 1 (50%) | 1 (50%) | 2 (100%) |
ä¸æ | 6 (100%) | 0 (0%) | 6 (100%) |
対象ã¯ãç¾ç¶ãã以åã»ã©ã¯ä½¿ããªããããã¾ã«ãã使ããªãããã¾ã£ãã使ããªããã®åçã§ãã表ã®ãã¼ã»ã³ã表è¨ã¯ã横æ¹åã«å ããã¨100%ã«ãªããããªè¨ç®ã§ããåé¡ã¯ä»¥ä¸ã®å®ç¾©ã§ã主観ã§å¤æãã¾ããã
- ç°å¢
- TDDãã§ããªã製åãè·å ´ç°å¢ã§ãããå®è£ ãããªããªã£ãããªã©
- é©æ
- ãã¤ãã©ãããã¨ãã«TDDããããå¤æãã(çµæTDDããªããã¨ããã)ã
- æ£å´
- TDDãç解ããä¸ã§ãç¾ç¶ã§ã¯å½¹ã«ç«ããªãã¨å¤æãã¦ããã
- ä¸æ
- ãã以å¤ãåé¡ã§ããªããåçãªã
以ä¸ãä¸éå ±åã§ãããã¢ã³ã±ã¼ãèªä½ã¯ã¾ã ã¾ã åçãåãä»ãã¦ãã¾ãããã¼ã¿ãå¢ããã°ã¾ããç¥ãããããã¨æãã¾ãã
â»ã¢ã³ã±ã¼ãã¯ã¾ã ã¾ã åä»ä¸ã§ããã¾ã ã®æ¹ã¯ãã²ã©ããï¼â http://goo.gl/forms/fbWsZmH3El
ã¾ãTDDã®ç¾ç¶ã«ã¤ãã¦æ å ±ãã³ã¡ã³ããããã°ãæãã¦ãã ããã
- https://facebook.com/yattom
- https://twitter.com/hashtag/tdd
- ã¾ãã¯æ¬ã¨ã³ããªã«ç´æ¥ã³ã¡ã³ã
詳細ãªã¢ã³ã±ã¼ãçµæ(é²è¦§ã®ã¿; éææ´æ°)
https://docs.google.com/spreadsheets/d/1jJX102o7i46WT1TF7TsQwcvAM4EHLNqOhlpBboTAikk/pubhtml?gid=1987591198&single=true
â»ä»åã®å ±åã¯ã10/23ã¾ã§ã®ã¶ãã対象ã«åæãã¾ããã