<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nainaistar</author_name>
  <author_url>https://blog.hatena.ne.jp/nainaistar/</author_url>
  <blog_title>きり丸の技術日記</blog_title>
  <blog_url>https://nainaistar.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>技術</anon>
    <anon>テスト</anon>
  </categories>
  <description>以前、Javaで不安定なテスト（flakyなテスト）をリトライさせるライブラリを素振りしました。今回の記事はPython版です。 Pytestの公式ページにてFlakyなテストに対する解決策となるライブラリを複数提示されており、その中でもGitHubのStar数が一番多かったflakyを素振りすることにします。 ユースケース E2E試験等の不安定（flaky）なテストを、失敗時に再実行させて全体として安定させたい。 環境 Python 3.8.5 pytest 6.2.4 flaky 3.7.0 インストール方法 pip install flaky 設定値 max_runs 最大何回まで再実行…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnainaistar.hatenablog.com%2Fentry%2F2021%2F10%2F06%2F120000&quot; title=&quot;【Pytest】不安定なテストに失敗したら自動リトライさせる（flaky） - きり丸の技術日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nainaistar/20210824/20210824231058.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-06 12:00:00</published>
  <title>【Pytest】不安定なテストに失敗したら自動リトライさせる（flaky）</title>
  <type>rich</type>
  <url>https://nainaistar.hatenablog.com/entry/2021/10/06/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
