13 use \Magento\Framework\App\Bootstrap;
18 private $scanList = [
'dev/tests/unit/testsuite/Magento'];
30 public function testUnitTestFilesPlacement()
36 ->setCollectFiles(
true)
37 ->setCollectRecursively(
true);
39 $targetsExist =
false;
40 foreach ($this->scanList as $dir) {
41 if (realpath($this->root . DIRECTORY_SEPARATOR . $dir)) {
42 $filesystem->addTargetDir($this->root . DIRECTORY_SEPARATOR . $dir);
50 foreach (
$files[
'items'] as $file) {
57 "The following files have been found in obsolete test directories: \n" static create($rootDir, array $initParams, ObjectManagerFactory $factory=null)
foreach($appDirs as $dir) $files