Created
May 29, 2014 09:42
-
-
Save tikolakin/9e5f54237712b94a5a4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="ci-phing-behat-test" default="dev"> | |
<!-- load variable definitions --> | |
<property file="build.properties"/> | |
<property name="behat.basedir" value="${project.basedir}/../test"/> | |
<!-- define custom tasks and types --> | |
<typedef name="args" classname="phing.behat.types.BehatArguments"/> | |
<taskdef name="behat" classname="phing.behat.tasks.BehatTask"/> | |
<!-- create timestamp --> | |
<tstamp> | |
<format property="build.time" pattern="%Y-%m-%d %H:%I:%S"/> | |
</tstamp> | |
<echo msg="PHING build on ${project.name} at ${build.time} on ${host.name}"/> | |
<target name="dev" description="Builds and deploys a development build"> | |
<behat featuresDir="${behat.basedir}/features" features="echo" | |
executable="${behat.basedir}/bin/behat" | |
config="${behat.basedir}/behat.yml" | |
htmlOutput="${project.basedir}/behat.html"> | |
<!-- specify arbitrary arguments like this: --> | |
<!--<arguments> | |
<argument cmd="-arbitrary"/> | |
</arguments>--> | |
</behat> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment