'Ring to rule them all', count: 1'Duck', minimum: 10'Dwarf', maximum: 7"Ocean's team member", between: 11..13'Justice for all'
注æ: é·ãã§ãã ä¸è¨ã¾ã¨ã: withinã¨test-unit-capybaraã使ã£ã¦HTMLã®ãã¹ããæ¸ãã¨åé¡ãè¦ã¤ãããããªãããããã¦èªã¿ãã: ãããã°ããããassert_equalã®æ¸ãæ¹ HTMLã«å¯¾ãããã¹ãã«éãããéçºãé²ãã¦ããä¸ã§ãã¹ãã失æããç¶æ³ã«ãªããã¨ã¯æ¥å¸¸çã«ãããã¨ã§ããHTMLã®å ´åã¯ãå ¥åãã©ã¼ã ã®ã©ãã«ãå¤æ´ããããé ç®ã追å ãããæ¢åã®ãã¹ãã失æããããã«ãªãã§ãããããã®ã¨ããã©ã®ããã«ãã¹ããæ¸ãã¦ããã°åå ãç´ æ©ãè¦ã¤ããããã®ãã説æãã¾ãããã¤ã³ãã¯ã注ç®ãã¦ãããã¼ããæ示ãããã¨ãã§ãã HTMLãã¹ãã®ã©ã¤ãã©ãª ãã¦ãRubyã§å¦ççµæã®HTMLããã¹ãããã¨ãã«ã¯ã©ããªã©ã¤ãã©ãªã使ã£ã¦ãã¾ããï¼The Ruby Toolboxã«ããBrowser testingã«ãã´ãªãè¦ã¦ã¿ãã¨ãCapybaraãæã使ããã¦ã
å æ¥ãªãªã¼ã¹ãã èããã¼ã¯ ã§ã¯End-to-Endãã¹ãã«ã¯ Request Spec ã使ã£ã¦ãã¾ããããã¹ã(RSpec)ãæ¸ãã«ã¯ Capybara DSL (API) ã®ç¥èãå¿ è¦ã«ãªãã¾ãã èããã¼ã¯ ã® Request Spec ãæ¸ãéã«åç §ããæ å ±ããµã³ãã«ãã¾ã¨ãã¦ããã¾ãã Capybara DSL æ å ± Capybaraæ¬å®¶ ä¸ç¨ããã® The DSL ã«åºæ¬çãªä½¿ãæ¹ã®ä¾ã並ãã§ãã¾ãã®ã§ãCapybara ã使ãéã«ã¯ã¾ããããèªã¿ã¾ããã Richard Conroy's Personal Blog: Capybara Reference DSLä¸è¦§ãã¾ã¨ã¾ã¨ãããã¦ãã¦ãã³ã¼ããæ¸ãã®ã«ä¾¿å©ã§ãã Module: Capybara Capybaraã®RDocã§ããDSLã«ã¯æç¨ãªãªãã·ã§ã³ãç¨æããã¦ã¾ãããã®ãªãã·ã§ã³ã解ãã¾ãã ãã ããæ £ããªãã¨èª¿
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}