<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oinume</author_name>
  <author_url>https://blog.hatena.ne.jp/oinume/</author_url>
  <blog_title>oinume journal</blog_title>
  <blog_url>https://oinume.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>はじめに アプリケーションが大きくなってくると、テストを並列で実行しないとどんどんgo testの実行時間が長くなってしまい、いわゆる「CI待ち」というものが発生してしまう。この記事は自分用のメモだが、テストを少しでも速くしたいという人のための記事。おそらく会社の誰かがもっと丁寧な説明のブログ記事を書いてくれるはず。 go testを速くする方法 方法としては以下がある。それぞれ細かく説明していく。 go test実行時に-pオプションを使う Test関数にt.Parallelを入れる go testの実行方法 go testコマンドでは大きく分けて以下の2つを行っている。 .go, _tes…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinume.hatenablog.com%2Fentry%2Fgo-test-in-parallel&quot; title=&quot;go testを並列で動かして速くする - oinume journal&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>2020-08-12 09:00:00</published>
  <title>go testを並列で動かして速くする</title>
  <type>rich</type>
  <url>https://oinume.hatenablog.com/entry/go-test-in-parallel</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
