You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
2014å¹´12æã«Ruby 2.2ããªãªã¼ã¹ãããäºå®ã§ã1ã Ruby 2.2ã«ã¯Ruby 1.9.1ã®ã¨ãã«å¤ãããtest-unitã¨ãããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãåã³ãã³ãã«ãããäºå®ã§ããRubyã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯å¨ãã«è©³ãããªã人ã«ã¯ããããããªãç¶æ³ã§ããããããã§ãRubyã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®æ´å²ã説æãããã¨ã§ç¶æ³ãæ´çãã¾ãã å称ã®æ´ç ãã®èª¬æã®ä¸ã§ã¯ããããã®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãç»å ´ãã¾ããä¼¼ããããªãã®ããããããæåã«ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®å称ãæ´çãã¾ãããã®èª¬æã®ä¸ã§ç»å ´ããå称ã¯æ¬¡ã®éãã§ãã RubyUnit Lapidary rubyunit Test::Unit test/unit test-unit miniunit minitest RSpec éãããããã¾ããï¼ãã£ãã説æããã¨æ¬¡ã®éãã§ãã RubyU
æ¿å ã¨ãããã¨ã§ãGAEUnitã使ããªããGAE+Djangoã§TDDéçºãã¦ããã¡ã¢äºåç®ãä½ããã®ã¯Statã¨ããã¨ã³ãã£ãã£ã«ãã¼ã¿ãæ¸ãè¾¼ãã»èªã¿åºãã¢ããªãæ¸ãã¦ã¿ããã¨ãããã¨ã«ããã ã¢ããªã±ã¼ã·ã§ã³ä½æ ãªããDjangoã¯ã³ã³ããã¼ã©ã¨ã¢ãã«ã®çµã¿åãããã¢ããªã±ã¼ã·ã§ã³ã¨å¼ã¶ããããã¢ããªã±ã¼ã·ã§ã³åã¯statã«ããã python manage.py startapp statâstatã¨ãããã£ã¬ã¯ããªãçæããããä¸èº«ã¯__init__.py, views.py, models.py unit_tests.py ã¾ãã¯Statã¨ããã¯ã©ã¹ã®å®ä½ãçæããããã¤ãNoneã§ã¯ãªããã¨ã確èªã import unittest import logging from google.appengine.ext import db from gaetest.stat.m
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}