<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunichiIto</author_name>
  <author_url>https://blog.hatena.ne.jp/JunichiIto/</author_url>
  <blog_title>give IT a try</blog_title>
  <blog_url>https://blog.jnito.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>お知らせ</anon>
  </categories>
  <description>お知らせ 昨日、Qiitaに「テストコードの期待値はDRYを捨ててベタ書きする ～テストコードの重要な役割とは？～」という記事を書きました。テスト初心者の人が読むと役に立つかもしれません。 よかったら読んでみてください。 追記：さらに続編も書きました 上の記事で説明したテストコードをMinitestで書いたバージョンと、RSpecらしく書いたバージョンを説明している、続編の記事です。 この記事を書いた理由、もしくは「DRYを捨てる」という表現について この記事を書いた理由は、テストコード内で変数や実装コード側のロジックを多用するコードを最近何度か目にしたからです。 たとえばこんな感じです。 g…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jnito.com%2Fentry%2F2016%2F06%2F07%2F055843&quot; title=&quot;Qiitaに「テストコードの期待値はDRYを捨ててベタ書きする」という記事を書きました - give IT a try&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>https://blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-06-07 05:58:43</published>
  <title>Qiitaに「テストコードの期待値はDRYを捨ててベタ書きする」という記事を書きました</title>
  <type>rich</type>
  <url>https://blog.jnito.com/entry/2016/06/07/055843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
