<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>vanak</author_name>
  <author_url>https://blog.hatena.ne.jp/vanak/</author_url>
  <blog_title>every Tech Blog</blog_title>
  <blog_url>https://tech.every.tv/</blog_url>
  <categories>
    <anon>golang</anon>
  </categories>
  <description>開発2部の内原です。 Go 1.25がリリースされ、並行処理のテストを簡単にするtesting/synctestパッケージが正式に利用可能になりました。1.24では GOEXPERIMENT=synctest フラグが必要でしたが、1.25では不要になりました。 今回は実際にtesting/synctestを使って、その使い方や利点、注意点について紹介します。 testing/synctestとは testing/synctestは、Go 1.24で実験的に導入され、Go 1.25で正式リリースされた並行処理テスト用のパッケージです。 このパッケージを使うことで、時間に依存する処理や非同期処理…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.every.tv%2Fentry%2F2025%2F09%2F04%2F205657&quot; title=&quot;Go 1.25でのtesting/synctestを用いた並行処理テスト - every Tech Blog&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/v/vanak/20250904/20250904102553.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-04 20:56:57</published>
  <title>Go 1.25でのtesting/synctestを用いた並行処理テスト</title>
  <type>rich</type>
  <url>https://tech.every.tv/entry/2025/09/04/205657</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
