Re: Transform

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <003201c8757c$61ef5b10$6401a8c0@ferrari>
The purpose of the /transform option is to modify the format
of the console text output, which includes the test summary
and the lists of failures and tests not run. Frankly, this
turns out to be a not very useful feature. In fact, most 
people who experiment with it do so in the belief that
it will change the output file, as you are doing.

The /out option is used to redirect any console output
created by your tests or the application you are testing.
It's specific purpose is to allow you to separate that
output from NUnit's own output.

The intent of the output xml file is to allow you to
apply your own transfrom to it after_the_test_run.
You can write your own program, or use any of 
several utilities. A couple that I support are listed
at http://nunit.org/?p=extras

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Rob Bonner
> Sent: Friday, February 22, 2008 9:30 AM
> To: [email protected]
> Subject: [Nunit-users] Transform
> 
> Hello,
> 
> I am having a challenge getting the command line nUnit tester 
> to output the results of our tests using a transform file.  
> Here is our command line:
> 
> nunit-console unittest.dll /transform=untitled2.xsl /out=c: 
> \unittest.htm /xml=c:\unittest.xml
> 
> The /out file is always blank, the /XML file is created, but 
> without the transform link at the top, and the needed output 
> scrolls in the stdout window.
> 
> Are there any changes to the above to get the HTML output 
> from the transform?
> 
> Thanks in advance!
> 
> Rob
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft Defy all 
> challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-users
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.