<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>haayaaa</author_name>
  <author_url>https://blog.hatena.ne.jp/haayaaa/</author_url>
  <blog_title>haayaaa’s diary</blog_title>
  <blog_url>https://haayaaa.hatenablog.com/</blog_url>
  <categories>
    <anon>API</anon>
    <anon>Rails</anon>
    <anon>Rspec</anon>
    <anon>テスト</anon>
  </categories>
  <description>Twitterを眺めていたら、AAA (arrange, act, assert) という、テストを書くにあたっての指針について知りました。 きっかけツイート：https://twitter.com/jnchito/status/1493781049767505920 arrange は 準備という意味で、データの作成や条件の設定など act は 実行という意味で、検証したいメソッドの実行など assert は 検証という意味で、expect で期待する値となってるか確かめるなど Rspec的には、 arrangeはletやbeforeに処理がまとまっているのが望ましく、 act、assert…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhaayaaa.hatenablog.com%2Fentry%2F2022%2F02%2F16%2F161246&quot; title=&quot;AAA (arrange, act, assert)について知った - haayaaa’s diary&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>2022-02-16 16:12:46</published>
  <title>AAA (arrange, act, assert)について知った</title>
  <type>rich</type>
  <url>https://haayaaa.hatenablog.com/entry/2022/02/16/161246</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
