我behat.yml看起來是這樣的:的Symfony 分量 YAML 異常 ParseException的拋出behat.yml
default:
firefox:
context:
parameters:
Browser_Name: firefox
extensions:
Behat\MinkExtension\Extension:
base_url: https://google.com
javascript_session: selenium2
browser_name: firefox
goutte: ~
selenium2: ~
我得到這個異常:
[Symfony\Component\Yaml\Exception\ParseException] Indentation problem in "D:\\mypgms\\behat.yml" at line 7 (near " extensions:").
哪有我解決了這個問題?
是無關用symfony或貝哈特。 YAML使用2或4個空格縮進,而不是製表符。 – Aitch 2015-03-25 17:04:53