<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tkuchiki</author_name>
  <author_url>https://blog.hatena.ne.jp/tkuchiki/</author_url>
  <blog_title>tkuchikiの日記</blog_title>
  <blog_url>https://tkuchiki.hatenablog.com/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>test</anon>
    <anon>Bats</anon>
  </categories>
  <description>※記事を書いて公開するまで1年くらい経っているので情報が古い可能性があります。Bats(Bash Automated Testing System)は、bash のテスティングフレームワークです。sstephenson/bats · GitHubTest Kitchen(Bussser) の Bats plugin で使うことができるのでご存知の方も多いと思います。簡単に使い方を説明すると、 @test &quot;テストの説明&quot; { command ... } という記法でテストを記述し、コマンドの返り値が 0 ならテストをパスします。 以下のようにスクリプトを実行してテストをすることができます。 $…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftkuchiki.hatenablog.com%2Fentry%2F2015%2F11%2F03%2F220547&quot; title=&quot;Bats で bash(シェルスクリプト) のテストを書く - tkuchikiの日記&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>2015-11-03 22:05:47</published>
  <title>Bats で bash(シェルスクリプト) のテストを書く</title>
  <type>rich</type>
  <url>https://tkuchiki.hatenablog.com/entry/2015/11/03/220547</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
