This .xml.dist file is really needed to use

we use Selenium for a while and many times when it breaks for some reason, when we debug, I am constantly chewed by a guy from my team who created a few step-by-step installation guide for Selenium and Magewnto TAF about my use of the phpunit.xml file, which I copied from the original phpunit.xml.dist

he says that we HAVE use the .dist file and that the reason my Selenium and Magento TAF no longer works in Firefox is because I do not do what it does, on the other hand, I always thought that [EXT] .bak files. [EXT] .dist is used only for distribution and is the default installation, people who want to configure the settings copy and delete .dist and use this argument that I am mistaken that phpunit.xml.dist is used in Magento TAF

using Ransack, I find only one use for phpunit.xml.dist in [ROOT]\framework\tests\unit\tests\Mage\Selenium\Helper\FileTest.php, which is this function

/**
 * @covers Mage_Selenium_Helper_File::loadYamlFile
 * @depends test__construct
 *
 * @expectedException InvalidArgumentException
 */
public function testLoadYamlFileException()
{
    $fileHelper = new Mage_Selenium_Helper_File($this->_config);
    $this->assertFalse($fileHelper->loadYamlFile(SELENIUM_TESTS_BASEDIR . DIRECTORY_SEPARATOR . 'phpunit.xml.dist'));
}

, , .dist, , , .dist ,

, , - , HAVE phpunit.xml.dist, , .dist , , PHP Storm , Defined in the configuration file , /

+2

Source: https://habr.com/ru/post/1680142/


All Articles