Re: 2.5 console runner documenation
Jay Lemmon <[email protected]> Sun, 7 Sep 2008 12:53:42 -0700 (PDT)
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0032040958== Content-Type: multipart/alternative; boundary="0-1465048068-1220817222=:4882" --0-1465048068-1220817222=:4882 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I just copied the 2.5 binaries over my old binaries, so it wasn't a fool pr= oof test, no :) So how do I, the end user, customize console output now?=A0 The release not= es don't mention anything in this regard. -Jay Lemmon --- On Sun, 9/7/08, Charlie Poole <[email protected]> wrote: From: Charlie Poole <[email protected]> Subject: Re: [Nunit-users] 2.5 console runner documenation To: [email protected] Date: Sunday, September 7, 2008, 6:39 AM =20 Hi=20 Jay, =A0 There's mention in the release notes, under 2.5 alpha=20 1, about the removal of the transform option. The console output is now indepedent of the=20 xml, so it no longer has any purpose. =A0 Since=20 the option is no longer there, I'm pretty sure it can't be working. :-) Are= you=20 sure you=20 were using 2.5 for your test? =A0 Charlie =20 =20 From:=20 [email protected]=20 [mailto:[email protected]] On Behalf Of Jay=20 Lemmon Sent: Saturday, September 06, 2008 9:42 PM To:=20 [email protected] Subject: [Nunit-users] 2.5 console=20 runner documenation =20 =20 =20 =20 When comparing the 2.4.8 docs and the 2.5 docs, I noticed=20 that this section in console runner: command-line was mostly delete= d and=20 partly merged with the one before it: "Specifying the Transform file The console interface uses XSLT to transform=20 the test results from the XML file to what is printed to the screen= when=20 the program executes. The console interface has a default transform= ation=20 that is part of the executable. To specify your own transformation = named=20 "myTransform.xslt" use the following command line option: nunit-console /transform:myTransform.xslt=20 nunit.tests.dll Note: For=20 additional information see the XML schema for the test results. Thi= s=20 file is in the same directory as the executable and is called=20 Results.xsd. The default transform Summary.xslt is located in the c= ore=20 source directory." In the 2.5=20 docs, there's no such section, and the mention of the Results.xsd i= s=20 merged in to the section before it on specifying an output xml=20 file. Is this an error in the docs, or is this feature=20 (specifying a transform) going to be removed in 2.5? A quick test s= hows=20 that it still works. -Jay=20 Lemmon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=3D100&url=3D/_____________= __________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users =0A=0A=0A --0-1465048068-1220817222=:4882 Content-Type: text/html; charset=us-ascii <table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I just copied the 2.5 binaries over my old binaries, so it wasn't a fool proof test, no :)<br><br>So how do I, the end user, customize console output now? The release notes don't mention anything in this regard.<br><br>-Jay Lemmon<br><br>--- On <b>Sun, 9/7/08, Charlie Poole <i><[email protected]></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Charlie Poole <[email protected]><br>Subject: Re: [Nunit-users] 2.5 console runner documenation<br>To: [email protected]<br>Date: Sunday, September 7, 2008, 6:39 AM<br><br><div id="yiv257795230"> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008">Hi Jay,</span></font></div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008"></span></font> </div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008">There's mention in the release notes, under 2.5 alpha 1, about the removal of the transform</span></font></div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008">option. The console output is now indepedent of the xml, so it no longer has any purpose.</span></font></div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008"></span></font> </div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008">Since the option is no longer there, I'm pretty sure it can't be working. :-) Are you sure</span></font></div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008">you were using 2.5 for your test?</span></font></div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008"></span></font> </div> <div><font size="2" color="#0000ff" face="Arial"><span class="796543513-07092008">Charlie</span></font></div><br> <blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"> <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"> <hr tabindex="-1"> <font size="2" face="Tahoma"><b>From:</b> [email protected] [mailto:[email protected]] <b>On Behalf Of </b>Jay Lemmon<br><b>Sent:</b> Saturday, September 06, 2008 9:42 PM<br><b>To:</b> [email protected]<br><b>Subject:</b> [Nunit-users] 2.5 console runner documenation<br></font><br></div> <div></div> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top">When comparing the 2.4.8 docs and the 2.5 docs, I noticed that this section in console runner: command-line was mostly deleted and partly merged with the one before it:<br><br><span style="font-weight: bold;">"Specifying the Transform file</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">The console interface uses XSLT to transform the test results from the XML file to what is printed to the screen when the program executes. The console interface has a default transformation that is part of the executable. To specify your own transformation named "myTransform.xslt" use the following command line option:</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">nunit-console /transform:myTransform.xslt nunit.tests.dll</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">Note: For additional information see the XML schema for the test results. This file is in the same directory as the executable and is called Results.xsd. The default transform Summary.xslt is located in the core source directory."</span><br style="font-weight: bold;"><br>In the 2.5 docs, there's no such section, and the mention of the Results.xsd is merged in to the section before it on specifying an output xml file.<br><br>Is this an error in the docs, or is this feature (specifying a transform) going to be removed in 2.5? A quick test shows that it still works.<br><br>-Jay Lemmon<br></td></tr></tbody></table><br></blockquote></div><pre>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's<br>challenge<br>Build the coolest Linux based applications with Moblin SDK & win great<br>prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br>http://moblin-contest.org/redirect.php?banner_id=100&url=/</pre><pre>_______________________________________________<br>Nunit-users mailing list<br>[email protected]<br>https://lists.sourceforge.net/lists/listinfo/nunit-users<br></pre></blockquote></td></tr></table><br> --0-1465048068-1220817222=:4882-- --===============0032040958== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ --===============0032040958== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users --===============0032040958==--