<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Joe_noh</author_name>
  <author_url>https://blog.hatena.ne.jp/Joe_noh/</author_url>
  <blog_title>mmag</blog_title>
  <blog_url>https://joe-noh.hatenablog.com/</blog_url>
  <categories>
    <anon>Elixir</anon>
  </categories>
  <description>今日の昼に書いたエントリはとても雑だったので、もう少し丁寧に書きます。 describe describe/2マクロを使うことで、複数のテストケースをまとめることができます。 defmodule MyAppTest do use ExUnit.Case, async: true describe &quot;addition&quot; do test &quot;1 + 2 = 3&quot; do assert 1 + 2 == 3 end test &quot;6 + 8 = 14&quot; do assert 6 + 8 == 14 end end end setup/1,2をdescribe毎に設定することができます。以下の例では、setu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjoe-noh.hatenablog.com%2Fentry%2F2016%2F06%2F01%2F224357&quot; title=&quot;ExUnitのdescribeとnamed setupについてもう少し丁寧に - mmag&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>2016-06-01 22:43:57</published>
  <title>ExUnitのdescribeとnamed setupについてもう少し丁寧に</title>
  <type>rich</type>
  <url>https://joe-noh.hatenablog.com/entry/2016/06/01/224357</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
