<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hisaichi5518</author_name>
  <author_url>https://blog.hatena.ne.jp/hisaichi5518/</author_url>
  <blog_title>パルカワ2</blog_title>
  <blog_url>https://hisaichi5518.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>最近モバイルアプリを作り直していて、自分が必要だなーとか安心したいなーと思う範囲でテストを書いている。 テストを書いているとテストデータを作る必要が出てくる。毎回手でテスト用のデータを作っていると大変でそんなことやってられるかという気持ちになってくるので、固定のデータを返すメソッドを作ったりする。 PickingProgressAmount newPickingProgressAmount() { return PickingProgressAmount( requested: 10, pickded: 0, ... ); } こうやると色んなテストで使い回せて便利。 パターン的にはオブジェク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhisaichi5518.hatenablog.jp%2Fentry%2F2025%2F02%2F19%2F144240&quot; title=&quot;テストデータをランダムで作る - パルカワ2&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>2025-02-19 14:42:40</published>
  <title>テストデータをランダムで作る</title>
  <type>rich</type>
  <url>https://hisaichi5518.hatenablog.jp/entry/2025/02/19/144240</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
