2011-06-01ãã1ã¶æéã®è¨äºä¸è¦§
ãGradle ã§ã«ãã¬ãã¸ãè¨æ¸¬ãã¦ã¿ããã«å¼ãç¶ã EMMA ã¨ããããã¨ããã§ããã訳ãã£ã¦ Gradle ã§ã®ã«ãã¬ãã¸è¨æ¸¬ã«ã¯ Cobertura ã使ããã¨ã«ãã¾ããã ã¨è¨ãã®ã Jenkins CI ã® EMMA ãã©ã°ã¤ã³ã¨ã¯ ãã¾ãç¸æ§ãè¯ããªãããã ããã§ãã ãªã㨠Jâ¦
Gradle 㧠FindBugs ããæ¹æ³ã«ã¤ãã¦ã¯ id:kyon_mm ãããæ¢ã« ãGradleã§ç°¡åã«FindBugsã使ããããã«ãã¦ã¿ããã§æ¸ããã¦ãã¾ããã æè§ãªã®ã§ãããå°ãããæãã«ãã¦ã¿ã¾ããã å¤æ´ç¹ã¯5ã¤... ã¤ã³ã¯ãªã¡ã³ã¿ã«ãã«ãã«å¯¾å¿ãã ã©ã¤ãã©ãªã®åå¾â¦
åå㯠Gradle ã§ãã¹ãã並åã§å®è¡ãã¦ã¿ã¾ãããããã¹ãã¨è¨ãã°ãã«ãã¬ãã¸ã測å®ããªãã¨... ã¨è¨ããã¨ã§ãä»å㯠Gradle 㧠ãã¹ããå®è¡ãã¦ããã®éã®ã«ãã¬ãã¸ã測å®ãã¦ã¿ããã¨ã«... Java ã®ã«ãã¬ãã¸ãã¼ã«ã¨è¨ãã° Cobertura EMMA ãæåâ¦
Gradle ã® Java ãã©ã°ã¤ã³ã«ã¯ ãã¹ãã並åã§å®è¡ããããã®æ©è½ãæ¨æºã§ç¨æããã¦ãã¾ãã é常㯠ãã¹ãç¨ã®ããã»ã¹ã¯ 1ã¤ããç«ã¡ä¸ããã¾ãããã test.maxParallelForks = 5ã®ããã«è¨å®ããã° æ大 ï¼ããã»ã¹ã§ä¸¦åå®è¡ã§ããããã«ãªãã¾ãã ãâ¦
Spock ã JUnit ã®ãããªãã¹ããã¬ã¼ã ã¯ã¼ã¯ã¯ ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ã§ ãã®ç価ãçºæ®ããã¾ãã ã¨è¨ããã¨ã§ãä»å㯠Jenkins CI 㧠Spock ãã¦ã¿ã¾ããã Jenkins CI 㧠Spock ããã° (ãã¡ãã å®è¡ã¯ Gradle ã§...) ãããªæãã§åºåãã¦ããã¾â¦
Spock 㯠Java 㧠BDD (Behavior Driven Development) ããããã®ãã¬ã¼ã ã¯ã¼ã¯ã§ãã ãã¡ãããGroovy ã§ã... Java ã®éçºã§ã¯ ããªãã¿ã® IDE (Eclipse) ã ãã«ããã¼ã« (Ant, Maven, Gradle) ã«ã対å¿ãã¦ããã®ã§ãããã¸ã§ã¯ãã¸ã®å°å ¥ã¯ã¨ã£ã¦ãç°¡â¦