<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naughty1029</author_name>
  <author_url>https://blog.hatena.ne.jp/Naughty1029/</author_url>
  <blog_title>Naughty1029のブログ</blog_title>
  <blog_url>https://naughty1029.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>今回は、PHPUnitを用いたテスト環境のセットアップ手順を紹介してみようと思います。 前提条件 Composerがインストール済みであること PHP開発環境が準備されていること 1. PHPUnitのインストール composer require --dev phpunit/phpunit --devオプションをつけることで、本番環境では必要ないテスト用ライブラリであることを示します。 テスト専用のライブラリは本番には不要ですので、require --devで開発時のみ参照する設定を行います。 2. PHPUnitバージョンの確認 ./vendor/bin/phpunit --version…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaughty1029.hatenablog.com%2Fentry%2F2025%2F01%2F25%2F172810&quot; title=&quot;PHPUnitの初期環境構築 簡易手順書 - Naughty1029のブログ&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-01-25 17:28:10</published>
  <title>PHPUnitの初期環境構築 簡易手順書</title>
  <type>rich</type>
  <url>https://naughty1029.hatenablog.com/entry/2025/01/25/172810</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
