Posted: 30 January 2008 comments powered by Disqus Share Tweet Dirk.Net LoginClose
rubyã§ã®ãã¹ãæ¯æ´ãã¼ã«ç¾¤ZenTestã®ä¸ã«autotestã¨ãããã¼ã«ãããã¾ãã autotestã¯ãã½ã¼ã¹ã®ç·¨éãæ¤ç¥ãèªåã§ãã¹ããèµ°ããã¦ãããæ©è½ãæã£ã¦ãã¾ãã ãã¹ããã¡ã¼ã¹ããç¿æ £ã¥ããããã«ã¯ãã£ã¦ããã®ãã¼ã«ã§ããã ä¸è¨ã®äºã¤ã®ãã¼ã«ã¨åãããã¨ãã便å©ã«ãªãããã§ãã çµæã赤ã¨ç·ã§è²åããã¦ãããredgreen ãããã¢ãã表示ãã¦ãããgrowl ã¨ãã訳ã§ãããããã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã以ä¸ããæ¹ã Zentest,redgreenã®ã¤ã³ã¹ãã¼ã« ZenTest,redgreenãgemã§ã¤ã³ã¹ãã¼ã« sudo gem install ZenTest sudo gem install redgreen growlã®ã¤ã³ã¹ãã¼ã« ä¸è¨URLããdownloadãã¼ã¸ã¸ç§»åããGrowlãã¤ã³ã¹ãã¼ã« http://growl.info/ ãã¦ã³ãã¼
ããã¾ãã¾ã¨ã¾ã£ã¦ãªããã©æ¸ãã ãããã¾ã¨ããããã«æ¸ãã éè¦ãªã®ã¯ã¢ã¦ãããããããã¨ã§ ãåãã£ãã¨ããã¾ã§ã§ããããã¨ã«ããæ¸ããæ¹ããããã ã£ã¦ããã人ãè¨ã£ã¦ãã ã§ãã¦ããã㨠ã./hoge.rbãã¨ã./spec/hoge-spec.rbããããç¶æ ã§ãautotestããå®è¡ãã㨠ã./spec/hoge-spec.rbããä¿åããæç¹ã§ãã¹ããèªåå®è¡ãããã ã¾ãããã®ã¨ãã®ãã¹ãçµæã¯ç»åä»ãã§ãããã¢ããã§è¡¨ç¤ºãããã RSpec Ruby ã®ããã®ãã¹ããã¼ã«ã gem install rspecã§ã¤ã³ã¹ãã¼ã«ã§ããã autotest Zentest ã¨ãããã¹ãç°å¢ã®ä¸é¨ã ãã¡ã¤ã«ãä¿åããã¨ãã«èªåã§ãã¹ããè¡ãããã®ãã¼ã«ã gem install zentestã§ã¤ã³ã¹ãã¼ã«ã§ããã Snarl ãããã¢ããã§æåãç»åã表示ãããã¼ã«ã M
Take very small stepsDonât rush ahead with more code. Instead, add another example and let it guide you to what you have to do next. And donât forget to take time to refactor your code before it gets messy. You should keep your code clean at every step of the way. View Documentation The BookEffective Testing with RSpec 3: Build Ruby Apps with ConfidenceThis definitive guide from RSpecâs lead devel
â 1 ãã¹ã¯ã¹ããã¯ã®ã¹ãRSpecã«ãããã¹ãé§åéçºã®å®æ¼ãã | View | Upload your own (ä¼å ´ããsshã使ããªãã®ã§ãPDFã¯ããããã£ã¦ã¯slideshare.netã®ãã¦ã³ãã¼ãããå©ç¨ãã ãã) ãªãã¨ãç¡äºã«çµããã¾ããããã®æ¥è¨ã§äºåã«åç¥ã§ããããããustream.tvã§ã®ä¸ç¶ãéãã¦æå¹ä»¥å¤ã®çããã«ãã©ã¤ãã§è¦ã¦ããããã¿ãããã¤ã³ã¿ã¼ããããããã ã¡ãªã¿ã«ãä»åã®çºè¡¨ã¯ããããµãã§ã®id:t-wadaã®ã»ãã·ã§ã³ã¨ãã¼ãã¯ã¾ã£ããåããªã®ã§ããããµãã®ã»ãã·ã§ã³ãåµå¯ãã¦ããããFizzBuzzã§ã60åã§ã¯ããããã¦ããªãã£ãã ã ããä»åã®ãBowling Game Kataã¯çµ¶å¯¾ããã¶ã¯ç¡çã ãããªããã¨æã£ã¦ããã30åæéã延é·ãã¦ãããã¾ãããææ¿ãæå¹ is nice. çºè¡¨ã§ã¯è³ªçå¿çãã§ãã¦ããã¦ãªã³ã°ã²ã¼ã ãå®æãã
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãæ¥æ¬ Ruby ã®ä¼ã®æå¿ã«ãã Rubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0058 å· ããã¯ãã³ãã¼ Rubyist Magazine 0058 å· RubyKaigi 2018 ç´åç¹éå· Rubyist Magazine 0057 å· RubyKaigi 2017 ç´åç¹éå· Rubyist Magazine 0056 å· Rubyist Magazine 0055 å· Rubyist Magazine 0054 å· æ±äº¬ Ruby ä¼è° 11 ç´
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}