0
我想考貝哈特,貂皮和SAHI與Symfony2的。
在我的文件config_test.yml我有
mink:
base_url: http://localhost/Symfony_Standard_2.0.15_2/symfony/web/app_test.php
default_session: symfony
sahi: ~
我test.feature
當我使用
Scenario: Open page with products list and check it
Given I am on "/hello"
Then the response should contain "hello"
結果是好:
1 scenario (1 passed)
2 steps (2 passed)
0m5.112s
但是當我添加我得到
@mink:sahi
Scenario: Open page with products list and check it #
src\Acme\DemoBundle\Features\test.feature:6
Given I am on "/hello" # Acme\DemoBundle\Features\Context\FeatureContext::visit()
Operation timed out after 5000 milliseconds with 0 bytes received
Then the response should contain "hello" #
Acme\DemoBundle\Features\Context\FeatureContext::assertResponseContains()
1 scenario (1 failed)
2 steps (1 skipped, 1 failed)
0m5.112s
你有什麼想法嗎?