Re: Help me....about command line arguments
"Mukti Muttaqin" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
I mean... Not command line argument which built in on nunit "/xml" is built in on nunit Is there any way to run nunit + object(dll/exe) + "command line argument is needed by object which is not built in on nunit" Best Regards Mukti Muttaqin -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Wednesday, April 09, 2008 8:35 PM To: Mukti Muttaqin Subject: Re: [Nunit-users] Help me....about command line arguments Yes, you can use nuint console to run your test on command line. nunit-console.exe Example: # Run NUnit.and generate the XML report. my $nUnitApplication = $nUnitDirectory.'\bin\nunit-console.exe'; my $cmd = "$nUnitApplication $unitTest /xml=\"$xml\""; Haiping --------------------------------------------------------------------------------- I ‘ am new in nunit and I have try test my code But I have problem when test code which need read command line arguments Example : When we run application we usually use command line argument like Myprogram.exe /server=Indonesia The problem is when we want test that program in Nunit GUI I can’t use the command line arguments (/server=Indonesia) Is Nunit support to read command line argument which needed by program? Best Regards Mukti Muttaqin ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users