Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 5b3b4e2

Browse files
committed
Adding more verbose Behat output.
1 parent 938216c commit 5b3b4e2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

phing/tasks/tests.xml

+8-2
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,20 @@
4242
<if>
4343
<equals arg1="${behat.regenerate}" arg2="y" casesensitive="false"/>
4444
<then>
45-
<delete file="${repo.root}/tests/behat/local.yml"/>
46-
<phingcall target="setup:behat"/>
45+
<delete file="${repo.root}/tests/behat/local.yml"/>
46+
<phingcall target="setup:behat"/>
4747
</then>
4848
<else>
4949
<fail>Cannot execute behat tests because Behat configuration is invalid.</fail>
5050
</else>
5151
</if>
5252
</then>
5353
</if>
54+
55+
<echo>Executing Behat tests with configuratoin:</echo>
56+
<echo>drupal_root: ${behatConfig.local.extensions.Drupal\DrupalExtension.drupal.drupal_root}"</echo>
57+
<echo>base_url: ${behatConfig.local.extensions.Behat\MinkExtension.base_url}"</echo>
58+
5459
</target>
5560

5661
<target name="tests:behat:execute" description="Executes behat tests against specific path." hidden="true">
@@ -138,6 +143,7 @@
138143

139144
<target name="tests:selenium:kill"
140145
description="Kills Selenium standalone server process and any process running on port 4444." hidden="true">
146+
<echo>Killing any selenium processes that are already running.</echo>
141147
<exec command="lsof -ti tcp:4444 | xargs kill" logoutput="false" level="${blt.exec_level}" passthru="false" checkreturn="false" />
142148
<exec command="pgrep selenium | xargs kill" logoutput="false" level="${blt.exec_level}" passthru="false" checkreturn="false" />
143149
</target>

0 commit comments

Comments
 (0)