adding prepare-behat task for jenkins

This commit is contained in:
Erik Amaru Ortiz
2014-04-02 11:12:18 -04:00
parent 7a47472ea1
commit 78c9965380

View File

@@ -136,7 +136,14 @@
</exec> </exec>
</target> </target>
<target name="behat" description="Behaviour tests with Behat"> <target name="prepare-behat" description="Prepare Behat Env.">
<exec executable="${basedir}/../prepare_behat_env">
<arg value="--source-dir" />
<arg value="${basedir}/../" />
</exec>
</target>
<target name="behat" description="Behaviour tests with Behat" depends="prepare-behat">
<exec executable="vendor/behat/behat/bin/behat"> <exec executable="vendor/behat/behat/bin/behat">
<arg value="--format" /> <arg value="--format" />
<arg value="junit,progress" /> <arg value="junit,progress" />