<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>Bun</anon>
  </categories>
  <description>Bun 1.2.19から、test.each や it.each を使ったパラメタライズドテストにて、ラベルの中の変数展開がサポートされるようになったので、メモ。 例えば、以下のようなテストコードがあるとします。 import { describe, it, expect } from 'bun:test' describe('変数展開', () =&gt; { it.each([ { coupon: { name: '1割引', discountRate: 0.1 }, expected: 90 }, { coupon: { name: '3割引', discountRate: 0.3 }, ex…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2025%2F07%2F20%2F124419&quot; title=&quot;Bun 1.2.19から、test.eachやit.eachを使ったパラメタライズドテストにて、ラベルの中の変数展開が行われるようになった - メモ的な思考的な&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>2025-07-20 12:44:19</published>
  <title>Bun 1.2.19から、test.eachやit.eachを使ったパラメタライズドテストにて、ラベルの中の変数展開が行われるようになった</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2025/07/20/124419</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
