<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryousanngata</author_name>
  <author_url>https://blog.hatena.ne.jp/ryousanngata/</author_url>
  <blog_title>日々量産</blog_title>
  <blog_url>https://ryozi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>Java</anon>
  </categories>
  <description>こんにちわ。テスト熱中症真っ盛りな自覚はありますが、それほどテストコードは書いてないプログラマーのクズです。今回はタイトルについて、ちょっとうまい方法が思いつかないのと、寝て起きたら忘れてしまうのを防ぐために自分の考えをメモします。(思いついて書いてる部分がほとんどなので変なところがありそう)その前に用語説明として、ここでいう&quot;外部リソースに依存したコード&quot;について定義しておきます。 DBやファイルといった、マシン内のリソースにアクセスするコード WebAPIを使ったHTTPリクエストといった、外部との通信を必要とするコード さて、突然ですが、JavaでWEBからDB上にあるユーザ情報を更新す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryozi.hatenadiary.jp%2Fentry%2F20131222%2F1387660821&quot; title=&quot;外部リソースに依存したコードを外部リソースに依存しないようにテストしたいんだけど、どうしたらいいの - 日々量産&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>2013-12-22 06:20:21</published>
  <title>外部リソースに依存したコードを外部リソースに依存しないようにテストしたいんだけど、どうしたらいいの</title>
  <type>rich</type>
  <url>https://ryozi.hatenadiary.jp/entry/20131222/1387660821</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
