<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ni66ling</author_name>
  <author_url>https://blog.hatena.ne.jp/ni66ling/</author_url>
  <blog_title>どこでも見れるメモ帳</blog_title>
  <blog_url>https://ni66ling.hatenadiary.jp/</blog_url>
  <categories>
    <anon>rspec</anon>
    <anon>ruby</anon>
    <anon>TDD</anon>
    <anon>テスト</anon>
  </categories>
  <description>はじめに RSpec2の書き方について，考えがまとまってきたので残しておきます． テスト作成における全体流れとしては， メソッドレベルでテストケースを作成 1.をRSpecに落としこむ ただし，1.におけるテストケースは2.に向けて書きます． 1. メソッドレベルでテストケースを作成 具体的には，下のようなテストケース表を作ります． #ケース テストケース名 入力1:input_1 出力 例外 1 正常系：〜のとき，〜を返却すること 2 異常系：〜のとき，〜の例外を投げること 例外名, 例外メッセージ 具体例を考えてみます． 例えば，以下のようなクラスに対するテストケースを考えてみます． # …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fni66ling.hatenadiary.jp%2Fentry%2F20130831%2F1377933316&quot; title=&quot;RSpecによるテスト記述 - どこでも見れるメモ帳&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>http://cdn-ak.f.st-hatena.com/images/fotolife/n/ni66ling/20160611/20160611144330.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-31 16:15:16</published>
  <title>RSpecによるテスト記述</title>
  <type>rich</type>
  <url>https://ni66ling.hatenadiary.jp/entry/20130831/1377933316</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
