<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>portaltan</author_name>
  <author_url>https://blog.hatena.ne.jp/portaltan/</author_url>
  <blog_title>脳汁portal</blog_title>
  <blog_url>https://portaltan.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>Rubyにデフォルトで入っているテストフレームワークのUnit testの使い方です。 ちなみに以前書きましたがrubyのデフォルトのテストフレームワークは各versionで中身が違います。portaltan.hatenablog.com 使い方 準備 unit.rb require 'test/unit' class SampleTest &lt; Test::Unit::TestCase end 1. まずはテストフレームワークを使用するために'test/unit'をrequireします 2. つぎにTest::Unit::TestCaseを継承したclassを作成します rubyではTest:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fportaltan.hatenablog.com%2Fentry%2F2015%2F10%2F28%2F111757&quot; title=&quot;rubyのデフォルトのUnit testの使い方 - 脳汁portal&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>2015-10-28 11:17:57</published>
  <title>rubyのデフォルトのUnit testの使い方</title>
  <type>rich</type>
  <url>https://portaltan.hatenablog.com/entry/2015/10/28/111757</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
