As you expected...here is what we do

<target name="run-acceptance-tests" depends="" description="Run all user
acceptance tests">
        <exec program="ruby.exe" workingdir="${storytests.dir}">
                <arg value="all_tests.rb" />
                <arg value="-b" />
                <arg value="-f" />
        </exec>
</target>

ruby.exe is on your path and ${stroytests.dir} points to the directory
that has all the *.rs files that contain the tests.  all_tests.rb is
just a file that require(s) all the other test *.rb files.

If there is a better way, I am all ears.

Jason

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of 
>Edmund Schweppe
>Sent: Monday, June 27, 2005 9:00 AM
>To: nant-users@lists.sourceforge.net
>Subject: [Nant-users] Launching Watir from NAnt?
>
>Does anybody have any experience running Watir tests from 
>NAnt? I don't see a specific Watir or Ruby task, so presumably 
>I could use <exec>.
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>_______________________________________________
>Nant-users mailing list
>Nant-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nant-users
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to