<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>TYPO3 v11: Unit testing fails with Nimut/testing-framework</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/935 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="935"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="log"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;$ .Build/bin/phpunit --colors=never -c phpunit.xml&#13;
PHPUnit 9.6.29 by Sebastian Bergmann and contributors.&#13;
&amp;#160;
Error in bootstrap script: Symfony\Component\Finder\Exception\DirectoryNotFoundException:&#13;
The &amp;quot;web/typo3conf/ext/iw_social/.Build/web/typo3/sysext/*/&amp;quot; directory does not exist.&#13;
#0 web/typo3conf/ext/iw_social/.Build/vendor/typo3/cms-core/Classes/Package/PackageManager.php(350): Symfony\Component\Finder\Finder-&amp;gt;in()&#13;
#1 web/typo3conf/ext/iw_social/.Build/vendor/typo3/cms-core/Classes/Package/PackageManager.php(255): TYPO3\CMS\Core\Package\PackageManager-&amp;gt;scanPackagePathsForExtensions()&#13;
#2 web/typo3conf/ext/iw_social/.Build/vendor/typo3/cms-core/Classes/Package/UnitTestPackageManager.php(31): TYPO3\CMS\Core\Package\PackageManager-&amp;gt;scanAvailablePackages()&#13;
#3 web/typo3conf/ext/iw_social/.Build/vendor/typo3/cms-core/Classes/Core/Bootstrap.php(255): TYPO3\CMS\Core\Package\UnitTestPackageManager-&amp;gt;initialize()&#13;
#4 web/typo3conf/ext/iw_social/.Build/vendor/nimut/testing-framework/src/TestingFramework/Bootstrap/AbstractBootstrap.php(247): TYPO3\CMS\Core\Core\Bootstrap::createPackageManager()&#13;
#5 web/typo3conf/ext/iw_social/.Build/vendor/nimut/testing-framework/src/TestingFramework/Bootstrap/AbstractBootstrap.php(81): Nimut\TestingFramework\Bootstrap\AbstractBootstrap-&amp;gt;initializePackageManager()&#13;
#6 web/typo3conf/ext/iw_social/.Build/vendor/nimut/testing-framework/res/Configuration/UnitTestsBootstrap.php(35): Nimut\TestingFramework\Bootstrap\AbstractBootstrap-&amp;gt;bootstrapUnitTestSystem()&#13;
#7 web/typo3conf/ext/iw_social/.Build/vendor/nimut/testing-framework/res/Configuration/UnitTestsBootstrap.php(36): PHPUnit\Util\FileLoader::{closure}()&#13;
#8 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/src/Util/FileLoader.php(66): include_once('...')&#13;
#9 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/src/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()&#13;
#10 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/src/TextUI/Command.php(567): PHPUnit\Util\FileLoader::checkAndLoad()&#13;
#11 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/src/TextUI/Command.php(347): PHPUnit\TextUI\Command-&amp;gt;handleBootstrap()&#13;
#12 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/src/TextUI/Command.php(114): PHPUnit\TextUI\Command-&amp;gt;handleArguments()&#13;
#13 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\TextUI\Command-&amp;gt;run()&#13;
#14 web/typo3conf/ext/iw_social/.Build/vendor/phpunit/phpunit/phpunit(107): PHPUnit\TextUI\Command::main()&#13;
#15 web/typo3conf/ext/iw_social/.Build/bin/phpunit(122): include('...')&#13;
#16 {main}&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/935/rev-raw/541cb671ed8071702c426d6be5ae52eef3c750e5/0-output.log" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/935#0-output.log"&gt;0-output.log&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;&lt;tt class="docutils literal"&gt;&lt;span class="pre"&gt;typo3/cms-composer-installers&lt;/span&gt;&lt;/tt&gt; v4.x got installed, which &lt;a class="reference external" href="https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/DirectoryStructure/Index.html#composer-installer-v4"&gt;moves&lt;/a&gt; the sysext extension directory from typo3/sysext/ to vendor/typo3/. TYPO3's own bootstrap didn't like that with unit tests.&lt;/p&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/935/rev-raw/541cb671ed8071702c426d6be5ae52eef3c750e5/1-solution.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/935#1-solution.rst"&gt;1-solution.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
