Hi,

   I would like to run an external program from NAnt.
I want to run the Unit Tests in NAnt while that
external program is running. How can I do that? Right
now I'm trying like this....

  <target name="runUnitTests" description="Runs unit
tests on specified dlls">
                <exec
program="Z:\Server\Output\Debug\Server.exe"
exename="cmd" workingdir="Z:\Server\Output\Debug"
basedir="Z:\Server" />
                <nunit2 failonerror="true">
                        <formatter outputdir="${log_folder}"
usefile="true" type="Xml" extension=".xml"/>
                        <test assemblyname="${test_file}"
appconfig="${test_config_file}" />
                </nunit2>
    </target>
    
In the above code, first I need to run the server and
while it is running i need to run the unit tests.

Thanks,



        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to