<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yumlonne</author_name>
  <author_url>https://blog.hatena.ne.jp/yumlonne/</author_url>
  <blog_title>Mobile Factory Tech Blog</blog_title>
  <blog_url>https://tech.mobilefactory.jp/</blog_url>
  <categories>
    <anon>バックエンド</anon>
  </categories>
  <description>この記事はモバイルファクトリー Advent Calendar 2019 3日目です。 こんにちは、エンジニアのid:yumlonneです！ 昨年のモバイルファクトリーAdvent Calendar 2018では、Perlのテストモジュールの紹介という記事を書きました。 今回は単体テストでモック*1を多用した結果、設計時にテストの視点を持つことが大事だなぁと思ったのでその学びを書くことにしました。 モックを使いたい！ 私が所属するチームでは、モジュールを作成したときに単体テストを書く習慣があります。 それに倣って単体テストを書いてきましたが、以下の理由でテストが大変なことがありました。 パブリ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.mobilefactory.jp%2Fentry%2F2019%2F12%2F03%2F203000&quot; title=&quot; Perlでモックを多用したテストを書いてわかったこと - Mobile Factory Tech Blog&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>2019-12-03 20:30:00</published>
  <title> Perlでモックを多用したテストを書いてわかったこと</title>
  <type>rich</type>
  <url>https://tech.mobilefactory.jp/entry/2019/12/03/203000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
