Closed Jean85 closed 7 years ago
The issue lies with Symfony here: KernelTestCase::getPhpUnitXmlDir()
It tries to guess the kernel location starting from the same dir of the PHPUnit config file. Since Paraunit is rewriting it in the temp dir, this is an issue. The only workaround I can think of is writing the copy in the same dir, and deleting it at the end of the execution.
Since 0.8, the PHPUnit config gets duplicated to add the test listener. This breaks the bootstrap option, that can contain a relative path.
Other options can contain relative paths, so maybe it's better to not change the directory in which the config gets rewritten.