ä»ã¾ã§ã¡ã¼ã«(ActionMailer)ã®ãã¹ãã¯ã©ãã«ãé¢åã§ãèªåã§ãã©ã¦ã¶ããåããã¦ãã°ãè¦ã¦ã£ã¦ãã£ã¦ãããã§ãããCucumberã§ã¡ã¼ã«ã®ãã¹ããã§ããã£ã½ãã®ã§è©¦ãã¦ã¿ã¾ããã 確èªç°å¢ã¯Rails2.3.2ãCucumber0.2.3ãemail_spec0.0.10ã email_specã¯githubãsourceã«æå®ãã¦ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ã(bmabeyâs email-spec at master - GitHub)ãconfig/environments/test.rbãããã«æ¸ãã¦ããã¨ããã¨æãã¾ãã email_specãã¤ã³ã¹ãã¼ã«ããã¨generateã«ã³ãã³ãã追å ããã¦ãã¾ãã $ ruby script/generate email_spec ããã§çæãããfeatures/stepdefinitions/emailsteps.rb
I would like to increase the speed of my tests. Should I use use_transactional_fixtures or go with the database_cleaner gem? Which database_cleaner strategy is the best? I noticed that after migration from :truncation to :transaction my more than 800 examples run about 4 times faster! Should I turn off use_transactional_fixtures when I use database_cleaner :transaction? Is it true that the best st
jpmobileã§ä½æãããRailsããã¸ã§ã¯ãããã¹ãããå¿ è¦ããã£ãã®ã§èª¿ã¹ã¦ã¿ã¾ããã ã¡ãã£ã¨ã°ã°ãã¨æ¬¡ã®ãµã¤ããåºã¦ãã¾ãã Ruby 1.9 + Rails3 + jpmobileã§æ§ç¯ãããµã¤ããcucumberã§ãã¹ãããããã®Tips Capybara::Driver::RackTestã«ç´°å·¥ããã¦UserAgentãå½è£ ããæ¹æ³ã§ãã ãã ããæå ã«ã¤ã³ã¹ãã¼ã«ããã¦ããCapybara1.1.2ã¯Capybara::Driver::RackTestã¯ç¡ããªã£ã¦ãã代ããã«Capybara::RackTest::Driverãå®è£ ããã¦ãã¦ãä¸è¨ã®å½è£ ãè¡ããã¨ãã§ãã¾ããã ä»ã®æãæ¢ãã¦ã¿ãã¨ãã次ã®è¨äºãè¦ã¤ããã¾ããã Creating a custom Capybara driver ãã®æ¹æ³ã¯æ°ããCapybaraã®Driverãè¨å®ãã¦ãã¾ãæ¹æ³ã§ãã
INSTALL ======= INSTALL cucumber & webrat (rspec rspec-rails) ============================================= $ [sudo] gem install rspec rspec-rails cucumber webrat Starting from Cucumber 0.4.5 you will need the cucumber-rails gem INSTALL DEPENDENCIES ==================== $ [sudo] gem install term-ansicolor treetop diff-lcs nokogiri BOOTSTRAP THE APP ================= script/generate cucumber HOW TO
2009å¹´07æ05æ¥13:34 Ruby Cucumberã¨Webratã®çµã¿åãããç´ æ´ããããã UK STUDIO - Cucumberã®ç»å ´ã§Railsã®ãã¹ãã£ã³ã°ç°å¢ãå¤ãã£ã Cucumberãã¢ãã - moroã®æ¥è¨ Webratãã¹ã´ã(ç¶:Cucumberãã¢ãã) - moroã®æ¥è¨ Cucumber ã«ãµãã¦ã¿ã - yuum3ã®ãä»äºæ¥è¨ ãã®è¾ºãã®è¨äºãèªãã§ããCucumberãã£ã¦ä½ãåããã ãªãã使ã£ã¦ã¿ããï¼ã¨æã£ããããã¤ã§ããããã«ã¡ããä»æ¥ãæãã§ããããã(*´Ð`) Cucumber ã«ãµãã¦ã¿ã - yuum3ã®ãä»äºæ¥è¨ Cucumberèªä½ã¯æ¥æ¬èªãªã©ã®èªç¶è¨èªã§ãã¹ãã·ããªãªãæ¸ãããã¬ã¼ã ã¯ã¼ã¯çãªãã®ã§ãå®éã®ãã¹ãæ©è½ã¯å«ã¾ãã¦ãã¾ãããããã§ã¯å®éã®ãã¹ãã¯Webratã¨ããWebã¢ããªã®åå ¥ãã¹ãç¨ã½ããã§ãããªãã¾ãã
æ¸èªæ å ± èè : 諸æ©æä» çºè¡æ¥: 2010-10-31 æçµæ´æ°æ¥: 2011-09-05 ãã¼ã¸ã§ã³: 1.0.0 ãã¼ã¸æ°: 102ãã¼ã¸(A4PDFçæç®) 対å¿ãã©ã¼ããã: EPUB, PDF åºç社: é人åºçä¼ å¯¾è±¡èªè Cucumberã«èå³ã®ããæ¹ããã¹ãã«èå³ã®ããæ¹ãç¹ã«ãRailsã§ã®ãã¹ãã«ã¤ãã¦ãã¦ããããã¹ã以ä¸ã®ãã¹ãã«èå³ã®ããæ¹ã èè ã«ã¤ã㦠諸æ©æä» å®®åçåºèº«ãæç³»ã¨ã³ã¸ãã¢ã2006å¹´ããæ ªå¼ä¼ç¤¾æ°¸åã·ã¹ãã ããã¸ã¡ã³ãã«ã¦RubyãRailsã使ã£ãä»äºããã¦ãã¾ããTDDãããå§ããã®ããã®é ããã§ããWebã¢ããªãä½ãã®ãä»äºã§ãããè¿é ã¯WebAPIãå©ãããä½ã£ããããä»äºããã¦ãã¾ãã Cucumberã使ãå§ãããã£ããã¯ãåä¿¡åçã§è©¦ãã¦ã¿ããæ¥æ¬èªã§æ¸ããã®ããããæ°ã«å ¥ã£ãããããã£ããæ°ã«å ¥ã£ã¦æ¬ãæ¸ãã¾ãããããã¤ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}