Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sauce Integration updated
  • Loading branch information
Shashi-ibuildings committed Jan 11, 2012
1 parent 18ca84f commit e0c03bb
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions build.xml
Expand Up @@ -5,9 +5,20 @@
</exec>
</target>
<target name="runSauce">
<exec dir="${basedir}" executable="behat" failonerror="true">
<arg line="-c sauce.yml -f junit --out ${basedir}/report"/>
</exec>
<delete dir="${basedir}/report" />
<mkdir dir="${basedir}/report"/>
<parallel>
<antcall target="start-selenium-server"></antcall>
<sequential>
<echo taskname="waitfor" message="Wait for selenium server launch" />
<waitfor maxwait="2" maxwaitunit="minute" checkevery="100">
<http url="http://localhost:4444/selenium-server/driver/?cmd=testComplete"/>
</waitfor>
<antcall target="sauce"></antcall>
<antcall target="create-test-report"></antcall>
<antcall target="stop-server"></antcall>
</sequential>
</parallel>
</target>
<target name="runSelenium" description="Start Server ; stop Server">
<delete dir="${basedir}/report" />
Expand Down

0 comments on commit e0c03bb

Please sign in to comment.