UnitTestBootstrap.php does not seem to be working with psr-4 since Flow 4 (I think).
The problem seems to be on line 55
$classesOrTests = ($classNameParts[$index + 1] === 'Tests' && isset($classNameParts[$index + 2]) && $classNameParts[$index + 2] === 'Unit') ? '/' : '/Classes/' . implode('/', $packageKeyParts) . '/';
which results in /Classes/PackagePart1/PackagePart2 being appended to PackagePart1.PackagePart2 and then can't load php class file as it doesn't exist.
If you amend line 55 to below - it seems to work
$classesOrTests = ($classNameParts[$index + 1] === 'Tests' && isset($classNameParts[$index + 2]) && $classNameParts[$index + 2] === 'Unit') ? '/' : '/Classes/';
UnitTestBootstrap.php does not seem to be working with psr-4 since Flow 4 (I think).
The problem seems to be on line 55
$classesOrTests = ($classNameParts[$index + 1] === 'Tests' && isset($classNameParts[$index + 2]) && $classNameParts[$index + 2] === 'Unit') ? '/' : '/Classes/' . implode('/', $packageKeyParts) . '/';which results in /Classes/PackagePart1/PackagePart2 being appended to PackagePart1.PackagePart2 and then can't load php class file as it doesn't exist.
If you amend line 55 to below - it seems to work
$classesOrTests = ($classNameParts[$index + 1] === 'Tests' && isset($classNameParts[$index + 2]) && $classNameParts[$index + 2] === 'Unit') ? '/' : '/Classes/';