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
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãRubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0064 å· ããã¯ãã³ãã¼ Rubyist Magazine 0064 å· Rubyist Magazine 0063 å· Rubyist Magazine 0062 å· Kaigi on Rails ç¹éå· RubyKaigi Takeout 2020 ç¹éå· Rubyist Magazine 0061 å· Rubyist Magazine 0060 å· RubyKaigi 2019 ç´åç¹éå· Rubyist
ã¿ãªããããã°ãã¯ãä»å¹´ã®2æã«å ¥ç¤¾ãã¦Webæ¥çã¨ãããã®ãããããããªãã¾ã¾iPhoneã¢ããªéçºããnode.jsã§ãµã¼ãéçºããPerlã§ãµã¼ãéçºããC#ã§Unityéçºããããã£ã¦ãããå¹´ãæ®ãããã£ã¦ãã@acidlemonã§ãã ãã¨ãã¨ç§ã¯C++ãå°éã§ãSIerã®æ¥çã«ããã®ã§ããããªãJavaããã£ã¦ããã¨ããæãã ã£ãã®ã§ãããWebæ¥çã«è»¢è·ãã¦ã¿ããC++ã§ããã°ã©ã ãæ¸ã人ãã»ã¼ããªãã£ãã¨ãããã¨ã§ãä»å¹´ã ãã§æ°è¦ã«4è¨èªãæãã¤ãã¦ãã¦ç°å¢ã®æ¿å¤ã£ã·ãã«èªåã§ãé©ãã¦ãã¾ãã ãã¦ã24æ¥éã«ããã£ã¦ãéããã¦ã¾ããã¾ããtech.kayac.com Advent Calendar 2012ãä»æ¥ãæçµæ¥ã2æ¥ç®ã«ãã¦ãããªãJavaScriptã§ãã£ã±ããåãå§ããæã¯ã©ããªããã¨ãã¨æãã¾ãããããããæ¯ãè¿ã£ã¦ã¿ãã¨DDLãGitã§ç®¡çããããPro
ãã®ã¨ã³ããªã§ã¯ï¼Ruby on Rails ï¼ä»¥ä¸ Railsï¼ã® ActiveRecord ã¢ãã«ãã¹ãã«ã¤ãã¦ï¼1) ã©ãã®ä½ããã¹ãããã°ãããï¼2) ã©ã®ããã«ãã¹ããæ¸ãã°ãããï¼ã®ã¬ã¤ãã©ã¤ã³ã示ãã¾ãï¼ãã®ã¬ã¤ãã©ã¤ã³ã¯ Rails å ¬å¼ã®ãã®ã§ã¯ãªãï¼id:passingloop ã使ã£ã¦ããç§çãªãã®ã§ãï¼çåã»è³ªåã»æ¹å¤ã»ééãã®ææã¯ãã¼ã¸ä¸é¨ã®ã³ã¡ã³ãæ¬ã¾ã§ãé¡ããã¾ãï¼ ã¯ããã« Rails 㯠TDD/BDD ãµãã¼ããå å®ãã Web ã¢ããªã±ã¼ã·ã§ã³éçºãã¬ã¼ã ã¯ã¼ã¯ã§ãï¼Rails ã§ä½¿ãã Test::Unit ã RSpec ãªã©ã¨ãã£ããã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®ä½¿ãæ¹ã«é¢ãã解説ãè±å¯ã«ããã¾ãï¼ãããï¼ãã©ããã©ããã¹ãããã°ããã®ããã«ã¤ãã¦ã®è§£èª¬ã¯ï¼ã使ãæ¹ãã®è§£èª¬ã¨æ¯è¼ãã¦å°ãªãããã«æãã¾ãï¼ãã£ã¨ãï¼ãã¹ãä¸è¬ã«ã¤ãã¦ã©ãæ¸ããã¯ã¢ã
Weâve recently been making use of an alternative to the traditional mock-and-stub pattern common in Ruby: the Test Spy. What do you mean, spy Test spies allow you to record method invocations for later verification. Basic usage goes something like this: describe PostsController do it 'shows the given post on GET show' do post = stub('a post', to_param: '1') Post.stubs(find: post) get :show, id: po
ORM ãã¦ã§ãã¢ããªã±ã¼ã·ã§ã³é¢é£ã®ã©ã¤ãã©ãªãªã©ã®ãã¹ãã±ã¼ã¹ãæ¸ãã«ããã£ã¦ã¯ã RDBMS ã¸ã®ã¢ã¯ã»ã¹ãå¿ è¦ã«ãªãã¾ããããããSQLite ã®ãããªã¹ã¿ã³ãã¢ãã¼ã³ã®ãã¼ã¿ãã¼ã¹ã¨æ¯è¼ããã¨ããµã¼ãåãã¼ã¿ãã¼ã¹ã§ãã MySQL ã«æ¥ç¶ãã¦ãã¹ããæ¸ãã®ã¯ãæ¢åã® MySQL ã®æ¨©éè¨å®ããã¼ã¿ãã¼ã¹åãæ°ã«ããå¿ è¦ããã£ããã¨ãããããä¸ä¾¿ã§ããããã§ãMySQL ã®ã¤ã³ã¹ã¿ã³ã¹ããã³ãã©ãªãã£ã¬ã¯ããªã«èªåçæãããã¹ããçµãã£ããåé¤ãã¦ããã Perl ã¢ã¸ã¥ã¼ã« Test::mysqld ãæ¸ãã¾ããããããªæãã§ä½¿ãã¾ãã use DBI; use Test::mysqld; use Test::More; my $mysqld = Test::mysqld->new( my_cnf => { 'skip-networking' => '' }, # TCPæ¥ç¶ã
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
{ French célérité > Latin celeritas > Latin celer, fast, swift. Rapidity of motion; quickness; swiftness. } Download â What is Celerity? Celerity is a JRuby wrapper around HtmlUnit â a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity aims at being API compatible with Watir. Features Fast - No time-consuming GUI
ãã¯ããã¹ãã®è©±é¡ã«ãªã£ã¦ stubã¨mockã®éãã1è¡ã§ï¼ ä»ã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã®ãè¦ãã¯ï¼ RRãç±ããï¼(è±èªã½ãæ¸ãã®ãç®çãããªããrubyã½ãdslãå¿ è¦ãªãã ï¼) mock 㧠should_receive ã§ã¬ãã¬ãã«ãµããªãã¸ã§ã¯ãã«ä»å ¥ãã¦ãã人ã£ã¦ä½ãªã®ï¼ duck type ã®èãæ¹ãããã¦ããä½ããããã¯ç¸æã«ä»»ãããããã¼ mock ã¯æ¢éã§ããã¹ãã stub ãã使ããªããã ãããã俺ãæè¿ã¯å®ãã¼ã¿æ´¾ã«æ»ã£ã¦ãããã ï¼Fixtureã©ãï¼ Fixture ã¯ã·ããªãªå¥ã«ä½¿ãåããã®ãé¢åãããªãï¼ ãã㧠FactoryGirl ã§ãã ä½ãå¬ããã®ï¼ ãã¹ããã¼ã¿ã ruby ã³ã¼ãã§åçã«æ¸ãããã¨ãããã ããã£ã¦ããã fixture ãç°¡åã«åãæ¿ããããæ©è½ãããã°ä¸è¦ãããï¼ åçãªã YAML ã§ã´ãªã´ãªæ¸ãæ¹æ³ãããã åãæ¿ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}