<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>elm200</author_name>
  <author_url>https://blog.hatena.ne.jp/elm200/</author_url>
  <blog_title>elm200 の日記(旧はてなダイアリー)</blog_title>
  <blog_url>https://elm200.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>趣旨 自動テストは重要だ。この主張に真っ向から異を唱えるひとは多くないだろう。だが実際には、テストを書くのはいささか面倒だ。特にコントローラのテスト(functional test) に苦手意識を持っている人は多いのではないか。post やら get やらいろんなメソッドが前触れもなく出てくるコントローラのテストは、モデルのテスト(unit test) に比べると「ワケわからん」感が強い。そこで今日は、functional test の仕組みについてしつこく探究してみる。仕組みを理解しないと、コントローラのテストは書きづらいと思うからだ。 functional test の例 簡単なブログエン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Felm200.hatenadiary.org%2Fentry%2F20070724%2F1185282738&quot; title=&quot; functional test をめぐる冒険 - elm200 の日記(旧はてなダイアリー)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-07-24 22:12:18</published>
  <title> functional test をめぐる冒険</title>
  <type>rich</type>
  <url>https://elm200.hatenadiary.org/entry/20070724/1185282738</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
