<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>buty4649</author_name>
  <author_url>https://blog.hatena.ne.jp/buty4649/</author_url>
  <blog_title>ぶていのログでぶログ</blog_title>
  <blog_url>https://tech.buty4649.net/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>mruby</anon>
  </categories>
  <description>mruby-yyjsonのテストコードを書くために、一部stubしたい部分ができた。 mruby-mtestにはstubする機能なく、mgem-listにもなさそうなので作った。 作ったと言ってもほとんどminitestのポーティングみたいな感じでスッと作れてよかった。 使い方 mrgem.rakeに以下を追加する。 これを追加するとrake testするときにObject.#stubが追加される。 # mrbgem.rake MRuby::Gem::Specification.new('mruby-yyjson') do |spec| -- snip -- spec.add_test_dep…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.buty4649.net%2Fentry%2F2024%2F07%2F06%2F121812&quot; title=&quot;mruby-test-stubを作った - ぶていのログでぶログ&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>2024-07-06 12:18:12</published>
  <title>mruby-test-stubを作った</title>
  <type>rich</type>
  <url>https://tech.buty4649.net/entry/2024/07/06/121812</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
