我尝试使用 magento 自动化框架运行测试,但结果显示为“没有执行测试用例”,输出错误显示为
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Unable to parse file "C:\Users\huongnguyen\mtaf\config\browsers.yml": Unable to parse line 27 (---).' in E:\xampp\php\pear\SymfonyComponents\YAML\sfYaml.php:100
Stack trace:
#0 C:\Users\huongnguyen\mtaf\lib\Mage\Selenium\Helper\File.php(52): sfYaml::load('C:\Users\huongn...')
#1 C:\Users\huongnguyen\mtaf\lib\Mage\Selenium\TestConfiguration.php(387): Mage_Selenium_Helper_File->loadYamlFile('C:\Users\huongn...')
#2 C:\Users\huongnguyen\mtaf\lib\Mage\Selenium\TestConfiguration.php(264): Mage_Selenium_TestConfiguration->_loadConfigData()
#3 C:\Users\huongnguyen\mtaf\lib\Mage\Selenium\TestConfiguration.php(163): Mage_Selenium_TestConfiguration->_initConfig()
#4 C:\Users\huongnguyen\mtaf\lib\Mage\Selenium\TestConfiguration.php(147): Mage_Selenium_TestConfiguration->init()
#5 C:\Users\huongnguyen\mtaf\bootstrap.php(44): Mage_Selenium_TestConfiguration::initInstance()
#6 E:\xampp\php\pear\PHPUnit\Util\Fileloader.php(92): include_once('C:\Users\huongn...')
#7 in E:\xampp\php\pear\SymfonyComponents\YAML\sfYaml.php on line 100
有没有人像以前一样遇到过?