å æ¥ãã CI ã¥ãã¦ããã®ã§ä»åº¦ã¯ JavaScript ã®ã¦ããããã¹ãã®åã調ã¹ã¾ããã ç¾å¨ã®wtnabeã®æ®æ®µã®éçºææ³Jasmine gem 㨠guard-livereload ã使ã£ã¦ãã©ã¦ã¶ã§èªåreloadãããªãã Jasmine ã§ã¦ããããã¹ããæ¸ãã¨ãããã¨ããã¦ãã¾ããããã¯ãã£ã±ããã©ã¦ã¶ã§åããã Firebug ãªã©ã®éçºè ãã¼ã«ãã¨ã¦ãå¼·åãªã®ã§ãä½ããã£ãã¨ãã«æ¢ã£ã¦ããã®ã«ä¾¿å©ã§ãããã¨ãçç±ã¨ãã¦å¤§ããã§ãããã¨ãã©ã¦ã¶ã§è¦ããã¨ãã§ããæ¹ããªããå®å¿ã¨ããã®ãããã¾ãã ããããã®ã¾ã¾ã§ã¯ CI ã¨ç¸æ§ãããããã¾ãããã ããä»ã¾ã§ CI ã¯ç¡è¦ãã¦ãã®ã§ãã rake jasmine:ciã¯GUIãã©ã¦ã¶åæä¸å¿ Jasmine gem ã«ã¯ ã¨ããã¿ã¹ã¯ãå®ç¾©ããã¦ããã®ã§ãããããã¯åºæ¬çã« Selenium ã§ãã©ã¦ã¶ãèµ·åãã¦ãã¹ãã
ã¯ããã« JavaScript ã§ãã¹ãããããã®ãã¬ã¼ã ã¯ã¼ã¯ã¯ QUnit 㨠Jasmine ã人æ°ãäºåãã¦ããã¿ããã§ãããæè¿ã¯ Jasmine ãåªå¢ï¼éèªãããã°ã§ Jasmine ãæ¨ãã¦ããã®ãããè¦ããã¾ãããä¸ã«ã¯ãQUnit ã¯ãªã¯ã³ã³ããããã㯠Jasmineï¼ãã£ã¦æãã®éæ¿ãªæè¦ãã ç§ã¯ QUnit ã使ã£ã¦ãã¾ããããJasmine ã®å¢ãã¯è¦éããªãã ã£ã¦ãã㧠Jasmine 試ãã¦ã¿ã¾ããã©ã¡ããåªãã¦ãããã¯ãå®éã«ä½¿ã£ã¦ã¿ãªãã¨åãããªãã§ãããã Jasmineã«ã¤ã㦠introduction.js RSpec 風ã«è¨è¿°ã§ãããJavaScript ã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãã¹ã¿ã³ãã¢ãã³çã¨Rubyçã¨Nodeçãããã¾ããã¹ã¿ã³ãã¢ãã³ç㯠QUnit åæ§ã«ããã©ã¦ã¶ã§å®è¡ããã¿ã¤ããRuby ç㨠Node çã¯ããªãã¨ã³ã
Jasmineã«ããJavaScriptã®ãã¹ã ãã®1 ããã«ã¡ã¯ãããã°ã©ãã®ãããã§ãã å¼ç¤¾ã®ã¯ã©ã¦ãããã¼ã¸ã¡ã³ããµã¼ãã¹ Cloudworksã§ã¯ãJavaScriptã®ãã¹ãã«Jasmineã¨ãããã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ãã¦ãã¾ããJasmineèªä½ã¯ã¨ã¦ãããåºæ¥ã¦ãã¦ä¾¿å©ãªã½ããã¦ã§ã¢ãªã®ã§ãããã¾ã ãªãªã¼ã¹ããã¦æ¥ãæµ ãã¨ãããã¨ããã£ã¦ãã¾ãæ¥æ¬èªã®æ å ±ãããã¾ãããããã§ãCloudworksæ å½ã®ã¨ã³ã¸ã㢠Yæ°ã«Jasmineã®ç¤¾å åããã¥ã¼ããªã¢ã«ãä½ã£ã¦ããã£ãã¨ããããªããªãã®å¤§ä½ãä»ä¸ããã社å ã ãã§å©ç¨ããã«ã¯ãã£ãããªãããã§ããã®ã§æè¡ããã°ã®ã³ã³ãã³ãã¨ãã¦ãæ²è¼ããã¦ããã ããã¨ã«ãªãã¾ããã ããããä½åãã«åãã¦æ²è¼ãã¦ããã¾ãã®ã§ããJavaScriptãã©ããã¹ããããï¼ãã¨ãæ©ã¿ã®æ¹ã¯ãã²åèã«ãã¦ã¿ã¦ãã ããã Jasmineã¨ã¯ï¼ J
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}