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>
    
So Server.exe must be on while running unit test.

Thanks,
Sridhar!!


                
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com


-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to