{"id":4976,"date":"2024-09-20T20:56:12","date_gmt":"2024-09-20T11:56:12","guid":{"rendered":"https:\/\/www.wetch.co.jp\/note\/?p=4976"},"modified":"2024-09-20T20:56:14","modified_gmt":"2024-09-20T11:56:14","slug":"ec-cube-4%e7%b3%bb%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e9%96%8b%e7%99%ba%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%93%ef%bc%88phpunit%e3%81%a7%e3%81%ae","status":"publish","type":"post","link":"https:\/\/www.wetch.co.jp\/note\/ec-cube-4%e7%b3%bb%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e9%96%8b%e7%99%ba%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%93%ef%bc%88phpunit%e3%81%a7%e3%81%ae\/","title":{"rendered":"EC-CUBE 4\u7cfb\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u958b\u767a\u306b\u3064\u3044\u3066\u3000\u305d\u306e\uff13\uff08PHPUnit\u3067\u306e\u30c6\u30b9\u30c8\u3068\u30ab\u30d0\u30ec\u30c3\u30b8\u53d6\u5f97\u306b\u3064\u3044\u3066\uff09"},"content":{"rendered":"<p>\u524d\u56de\u306e<a href=\"https:\/\/www.wetch.co.jp\/note\/ec-cube-4%e7%b3%bb%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e9%96%8b%e7%99%ba%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%92%ef%bc%88%e3%83%95%e3%83%ad%e3%83%b3\/\">\u30d6\u30ed\u30b0<\/a>\u306e\u6700\u5f8c\u3067\u3061\u3087\u3063\u3068\u66f8\u3044\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30c6\u30b9\u30c8\u3068\u30ab\u30d0\u30ec\u30c3\u30b8\u53d6\u5f97\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u74b0\u5883\u3068\u3057\u3066\u3001\u4eca\u56de\u306f\u4ee5\u4e0b\u74b0\u5883\u3067\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>Vagrant\uff08Virtualbox\uff09<br \/>Webmin \/ Virtualmin<br \/>OS:Ubuntu20.04<br \/>PHP:7.1\u301c7.4\uff08\u9069\u5b9c\u5909\u66f4\uff09<br \/>DB:MySQL5.7\u3068PostgreSQL12<\/p>\n<p>Webmin \/ Virtualmin\u3067\u306e\u4eee\u60f3\u30db\u30b9\u30c8\u4f5c\u6210\u307e\u3067\u306f\u3044\u3064\u3082\u901a\u308a\u3067\u3042\u308a\u3001\u672c\u30d6\u30ed\u30b0\u3067\u3082\u4f55\u5ea6\u304b\u51fa\u3066\u304d\u3066\u3044\u307e\u3059\u306e\u3067\u5272\u611b\u3055\u305b\u3066\u9802\u304d\u307e\u3059\u3002\u305f\u3060\u3001PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u4ee5\u4e0b\u3092\u884c\u3044\u307e\u3057\u305f\u3002\uff08\u4ee5\u4e0b\u306fPHP7.1\u306e\u5834\u5408\uff09<\/p>\n\n\n<pre class=\"wp-block-code\"><code># apt install curl gpg gnupg2 software-properties-common ca-certificates apt-transport-https lsb-release -y\n# add-apt-repository ppa:ondrej\/php\n# apt update\n# apt -y install php7.1\n# apt install php7.1-{fpm,common,intl,cli,opcache,pdo,bcmath,calendar,ctype,fileinfo,ftp,gd,intl,ldap,mbstring,mysql,pgsql,sqlite3,posix,readline,sockets,bz2,tokenizer,zip,curl,iconv,phar,xml,xdebug,dev,phpdbg,imagick,gmp}\n\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u3092\u884c\u3046\uff08\u30b3\u30f3\u30bd\u30fc\u30eb\u306ePHP\uff09\n# update-alternatives --config php\n# 2<\/code><\/pre>\n\n\n<p>\u5f8c\u8ff0\u3059\u308b\u30ab\u30d0\u30ec\u30c3\u30b8\u3067xdebug\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u3042\u3089\u304b\u3058\u3081\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n\n<p>EC-CUBE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3063\u305f\u3089\u3001composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\u3053\u3053\u3067\u306e\u7559\u610f\u70b9\u306f\u3001EC-CUBE\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff084.0\u7cfb\u30684.1\u7cfb\uff09\u306b\u3088\u308a\u4f7f\u7528\u3059\u308bcomposer\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u70b9\u3067\u3059\u3002<\/p>\n\n<p>composer\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u81ea\u4f53\u306f\u3001<a href=\"https:\/\/getcomposer.org\/download\/\">\u3053\u3061\u3089\u306e\u30ea\u30f3\u30af<\/a>\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001EC-CUBE 4.0\u7cfb\u306e\u5834\u5408\u306f1.x\u306a\u306e\u3067<\/p>\n\n\n<pre class=\"wp-block-code\"><code>php composer.phar selfupdate --1<\/code><\/pre>\n\n\n<p>EC-CUBE 4.1\u7cfb\u306e\u5834\u5408\u306f2.6.6\uff1f\u307e\u3067\u306a\u306e\u3067<\/p>\n\n\n<pre class=\"wp-block-code\"><code>php composer.phar selfupdate 2.6.6<\/code><\/pre>\n\n\n<p>\u305d\u308c\u305e\u308c\u52d5\u4f5c\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306ecomposer\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5909\u66f4\u3067\u304d\u305f\u3089\u4ee5\u4e0b\u306e\u901a\u308a\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>mv composer.phar \/usr\/local\/bin\/composer<\/code><\/pre>\n\n\n<p>composer\u306e\u8a2d\u7f6e\u3092\u884c\u3063\u305f\u3089\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306bEC-CUBE\u3092git clone\u3057\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>git clone -b 4.0.0 https:\/\/github.com\/EC-CUBE\/ec-cube.git .<\/code><\/pre>\n\n\n<p>\u30c6\u30b9\u30c8\u3057\u305f\u3044EC-CUBE\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066git clone\u3067\u6301\u3063\u3066\u304f\u308b\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u306b\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6301\u3063\u3066\u304d\u307e\u3059\u3002\uff08\u30d1\u30c3\u30b1\u30fc\u30b8\u7248\u3067\u306f\u5165\u3063\u3066\u3044\u307e\u305b\u3093\u3002\uff09\u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3063\u3066\u304d\u305f\u3089\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>composer install --no-scripts --no-plugins<\/code><\/pre>\n\n\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3057\u3066vendor\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3067\u304d\u307e\u3059\u3002\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066\u3044\u307e\u3059\u3002\u3053\u3061\u3089\u304c\u7d42\u308f\u3063\u305f\u3089php.ini\u3092\u7de8\u96c6\u3057\u3066\u3001\u30ab\u30d0\u30ec\u30c3\u30b8\u53d6\u5f97\u306e\u305f\u3081\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>xdebug.mode=coverage<\/code><\/pre>\n\n\n<p>\u5909\u66f4\u5f8c\u306f\u30b5\u30fc\u30d0\u306e\u518d\u8d77\u52d5\u3092\u884c\u3044\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n\n<p>\u3053\u308c\u3067EC-CUBE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3063\u305f\u306e\u3067\u3001Web\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\u4eca\u56de\u79c1\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u906d\u9047\u3057\u3066\u3084\u3084\u9762\u98df\u3089\u3063\u305f\u30b1\u30fc\u30b9\u304c\u3042\u3063\u305f\u306e\u3067\u8a18\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>PostgreSQL\u3067\u306e\u30c6\u30b9\u30c8\u3092\u884c\u304a\u3046\u3068\u3057\u305f\u969b\u306a\u306e\u3067\u3059\u304c\u3001.env\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5c55\u958b\u3055\u308c\u3066\u3044\u3066EC-CUBE\u304c\u52d5\u4f5c\u3057\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002\uff08Ubuntu\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u9055\u3044\u307e\u3059\u304c\u3054\u5bb9\u8d66\u4e0b\u3055\u3044\u3002\uff09<\/p>\n\n\n<pre class=\"wp-block-code\"><code>DATABASE_SERVER_VERSION=14.13 (Ubuntu 14.13-0ubuntu0.22.04.1)<\/code><\/pre>\n\n\n<p>.env\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u304c\u5165\u308b\u3068\u52d5\u304b\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff08\u4e0a\u8a18\u3060\u3068Ubuntu 14.13\u3067\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u3067\u3059\u306e\u3067\u3001\u3053\u3046\u3044\u3046\u5834\u5408\u306f\u30c0\u30d6\u30eb\u30b3\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u56f2\u3093\u3067\u3084\u308b\u3053\u3068\u3067\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>DATABASE_SERVER_VERSION=\"14.13 (Ubuntu 14.13-0ubuntu0.22.04.1)\"<\/code><\/pre>\n\n\n<p>EC-CUBE\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\u30d7\u30e9\u30b0\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08app\/Plugin\uff09\u306b\u81ea\u5206\u306e\u4f5c\u6210\u3057\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8a2d\u7f6e\u3057\u307e\u3059\u3002<br \/>\u8a2d\u7f6e\u5f8c\u306b\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u72ec\u81ea\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>bin\/console eccube:plugin:install --code=Turnstile<\/code><\/pre>\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306f\u3001\u30b3\u30de\u30f3\u30c9\u3067\u6709\u52b9\u5316\u3057\u3066\u3082\u7ba1\u7406\u753b\u9762\u3067\u6709\u52b9\u5316\u3057\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u9069\u5b9c\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u3088\u3046\u3084\u304f\u3053\u308c\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u3067\u304d\u308b\u72b6\u614b\u3068\u306a\u308a\u307e\u3057\u305f\u3002\u3061\u306a\u307f\u306b\u4eca\u56de\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>    Turnstile\n        \u251c\u2500\u2500 composer.json\n        \u251c\u2500\u2500 Controller\n        \u2502   \u2514\u2500\u2500 Admin\n        \u2502       \u2514\u2500\u2500 ConfigController.php\n        \u251c\u2500\u2500 Entity\n        \u2502   \u2514\u2500\u2500 Config.php\n        \u251c\u2500\u2500 Event.php\n        \u251c\u2500\u2500 Exception\n        \u2502   \u2514\u2500\u2500 ValidationFailException.php\n        \u251c\u2500\u2500 Form\n        \u2502   \u2514\u2500\u2500 Type\n        \u2502       \u2514\u2500\u2500 Admin\n        \u2502           \u2514\u2500\u2500 ConfigType.php\n        \u251c\u2500\u2500 phpunit.xml.dist     \u2190  \u30c6\u30b9\u30c8\u3067\u8ffd\u52a0\n        \u251c\u2500\u2500 PluginManager.php\n        \u251c\u2500\u2500 Repository\n        \u2502   \u2514\u2500\u2500 ConfigRepository.php\n        \u2514\u2500\u2500 Resources\n        \u2502   \u251c\u2500\u2500 doctrine\n        \u2502   \u251c\u2500\u2500 locale\n        \u2502   \u2502   \u251c\u2500\u2500 messages.ja.yml\n        \u2502   \u2502   \u2514\u2500\u2500 validators.ja.yml\n        \u2502   \u2514\u2500\u2500 template\n        \u2502       \u251c\u2500\u2500 admin\n        \u2502       \u2502   \u2514\u2500\u2500 config.twig\n        \u2502       \u2514\u2500\u2500 default\n        \u2502           \u2514\u2500\u2500 turnstile.twig\n        \u2514\u2500\u2500 Tests\n            \u2514\u2500\u2500 Web\n                \u251c\u2500\u2500 TurnstileConfigControllerTest.php     \u2190  \u30c6\u30b9\u30c8\u3067\u8ffd\u52a0\n                \u251c\u2500\u2500 TurnstileConfigTest.php     \u2190  \u30c6\u30b9\u30c8\u3067\u8ffd\u52a0\n                \u2514\u2500\u2500 TurnstileEventListenerTest.php     \u2190  \u30c6\u30b9\u30c8\u3067\u8ffd\u52a0<\/code><\/pre>\n\n\n<p>PHPUnit\u3067\u30c6\u30b9\u30c8\u3092\u884c\u3046\u305f\u3081\u3001\u4e0a\u8a18\u306e\u901a\u308a\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002\u30c6\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u8a73\u7d30\u306f\u9577\u304f\u306a\u308a\u305d\u3046\u3067\u3059\u306e\u3067\u3001PHPUnit\u306b\u3064\u3044\u3066\u306e\u60c5\u5831\u3092\u53c2\u7167\u3057\u3066\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002\u3042\u3068\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u76f4\u4e0b\u306bphpunit.xml.dist\u3092\u914d\u7f6e\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u306b\u306fEC-CUBE\u672c\u4f53\u30c6\u30b9\u30c8\u7528\u306ephpunit.xml.dist\u304c\u3042\u308b\u305f\u3081\u3053\u3053\u306b\u914d\u7f6e\u3057\u3001\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6642\u306b\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<p>PHPUnit\u3067\u306e\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306e\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>vendor\/bin\/phpunit app\/Plugin\/Turnstile<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"170\" src=\"https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.33.52.png\" alt=\"\" class=\"wp-image-4977\" srcset=\"https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.33.52.png 720w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.33.52-300x71.png 300w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.33.52-150x35.png 150w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.33.52-696x164.png 696w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/figure>\n\n\n<p>\u00a0<\/p>\n<p>\u30c6\u30b9\u30c8\u304c\u7279\u306b\u554f\u984c\u306a\u3044\u5834\u5408\u306f\u4e0a\u8a18\u306e\u3088\u3046\u306a\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<p>\u305d\u308c\u3067\u306f\u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u53d6\u5f97\u3057\u3066\u307f\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u901a\u308a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>vendor\/bin\/phpunit app\/Plugin\/Turnstile --coverage-html=\".coverage\" --configuration=\"app\/Plugin\/Turnstile\/phpunit.xml.dist\"<\/code><\/pre>\n\n\n<p>\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u51fa\u529b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308bphpunit.xml.dist\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3061\u3089\u3082\u5168\u3066\u6b63\u5e38\u3067\u3042\u308b\u5834\u5408\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306a\u8868\u793a\u3068\u306a\u308a\u3001\u51fa\u529b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u4eca\u56de\u306e\u6307\u5b9a\u3067\u306f.coverage\uff09\u306b\u30ab\u30d0\u30ec\u30c3\u30b8\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u8868\u793a\u3057\u3066\u307f\u3066\u307f\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u3067\u4ee5\u4e0bURL\u3092\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;\u30c6\u30b9\u30c8\u74b0\u5883\u306eURL\/.coverage\/index.html<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"571\" src=\"https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-1024x571.jpg\" alt=\"\" class=\"wp-image-4978\" srcset=\"https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-1024x571.jpg 1024w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-300x167.jpg 300w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-768x428.jpg 768w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-1536x856.jpg 1536w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-150x84.jpg 150w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-696x388.jpg 696w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27-1068x595.jpg 1068w, https:\/\/www.wetch.co.jp\/note\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-20-20.42.27.jpg 1599w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<p>\u00a0<\/p>\n<p>\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u306d\uff01<\/p>","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306e\u30d6\u30ed\u30b0\u306e\u6700\u5f8c\u3067\u3061\u3087\u3063\u3068\u66f8\u3044\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30c6\u30b9\u30c8\u3068\u30ab\u30d0\u30ec\u30c3\u30b8\u53d6\u5f97\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u30c6\u30b9\u30c8\u74b0\u5883\u3068\u3057\u3066\u3001\u4eca\u56de\u306f\u4ee5\u4e0b\u74b0\u5883\u3067\u884c\u3044\u307e\u3057\u305f\u3002 Vagrant\uff08Virtualbox\uff09Webmin \/ V [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":4979,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[210],"tags":[],"class_list":["post-4976","post","type-post","status-publish","format-standard","has-post-thumbnail","category-210"],"_links":{"self":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts\/4976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/comments?post=4976"}],"version-history":[{"count":0,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/posts\/4976\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/media\/4979"}],"wp:attachment":[{"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/media?parent=4976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/categories?post=4976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wetch.co.jp\/note\/wp-json\/wp\/v2\/tags?post=4976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}