Re: 2.5 console runner documenation

Jay Lemmon <[email protected]> Sun, 7 Sep 2008 14:16:53 -0700 (PDT)
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
--===============0971832429==
Content-Type: multipart/alternative; boundary="0-450724208-1220822213=:76365"

--0-450724208-1220822213=:76365
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Well I can't speak for anyone else, but customizing the (console) output of=
 the console runner is important to me.=A0 If it's impossible in 2.5, it'll=
 mean I can't upgrade :(

It doesn't have to be xslt.=A0 And it doesn't have to be a command line swi=
tch.=A0 Right now I'm actually linking against the console runner assemblie=
s (DLLs) to build my own custom EXE for every test project I build, so it c=
ould be something done purely in code.=A0 How is the format for the console=
 runner decided right now if it's not xslt?

-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, 1:10 PM



=20
Hi=A0Jay,
=A0
There doesn't seem to be a real need to customize=20
console output, except possibly to=20
have
NUnit show more detailed info - an option I'm working=20
on. Most people using=A0the old=20
feature
seemed to be producing=20
html with it. That's still possible, but the xml would need to be=20

formatted after the=20
NUnit run.
=A0
Charlie



 =20
 =20
  From:=20
  [email protected]=20
  [mailto:[email protected]] On Behalf Of Jay=20
  Lemmon
Sent: Sunday, September 07, 2008 12:54 PM
To:=20
  [email protected]
Subject: Re: [Nunit-users] 2.5=20
  console runner documenation


 =20
 =20
   =20
   =20
      I just copied the 2.5 binaries over my old binaries, so=20
        it wasn't a fool proof test, no :)

So how do I, the end user,=20
        customize console output now?=A0 The release notes don't mention=20
        anything in this regard.

-Jay Lemmon

--- On Sun,=20
        9/7/08, Charlie Poole <[email protected]>=20
        wrote:

        From:=20
          Charlie Poole <[email protected]>
Subject: Re:=20
          [Nunit-users] 2.5 console runner documenation
To:=20
          [email protected]
Date: Sunday, September 7, 2008,=20
          6:39 AM


         =20
          Hi Jay,
          =A0
          There's mention in the release notes, under=20
          2.5 alpha 1, about the removal of the transform
          option. The console output is now indepedent=20
          of the xml, so it no longer has any purpose.
          =A0
          Since the option is no longer there, I'm=20
          pretty sure it can't be working. :-) Are you sure
          you were using 2.5 for your=20
          test?
          =A0
          Charlie

         =20
           =20
           =20
            From:=20
            [email protected]=20
            [mailto:[email protected]] On Behalf Of=
=20
            Jay Lemmon
Sent: Saturday, September 06, 2008 9:42=20
            PM
To:=20
            [email protected]
Subject: [Nunit-users]=20
            2.5 console runner documenation


           =20
           =20
             =20
             =20
                When comparing the 2.4.8 docs and the 2.5 docs,=20
                  I noticed that this section in console runner: command-li=
ne=20
                  was mostly deleted and partly merged with the one before=
=20
                  it:

"Specifying the=20
                  Transform file

The=20
                  console interface uses XSLT to transform the test results=
 from=20
                  the XML file to what is printed to the screen when the pr=
ogram=20
                  executes. The console interface has a default transformat=
ion=20
                  that is part of the executable. To specify your own=20
                  transformation named "myTransform.xslt" use the following=
=20
                  command line option:

nunit-console=20
                  /transform:myTransform.xslt nunit.tests.dll

Note: For additional information see=20
                  the XML schema for the test results. This file is in the =
same=20
                  directory as the executable and is called Results.xsd. Th=
e=20
                  default transform Summary.xslt is located in the core sou=
rce=20
                  directory."

In the 2.5=20
                  docs, there's no such section, and the mention of the=20
                  Results.xsd is merged in to the section before it on=20
                  specifying an output xml file.

Is this an error in the=20
                  docs, or is this feature (specifying a transform) going t=
o be=20
                  removed in 2.5? A quick test shows that it still=20
                  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

-------------------------------------------------------------------------
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-450724208-1220822213=:76365
Content-Type: text/html; charset=us-ascii

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Well I can't speak for anyone else, but customizing the (console) output of the console runner is important to me.&nbsp; If it's impossible in 2.5, it'll mean I can't upgrade :(<br><br>It doesn't have to be xslt.&nbsp; And it doesn't have to be a command line switch.&nbsp; Right now I'm actually linking against the console runner assemblies (DLLs) to build my own custom EXE for every test project I build, so it could be something done purely in code.&nbsp; How is the format for the console runner decided right now if it's not xslt?<br><br>-Jay Lemmon<br><br>--- On <b>Sun, 9/7/08, Charlie Poole <i>&lt;[email protected]&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(1
 6, 16, 255); margin-left: 5px; padding-left: 5px;">From: Charlie Poole &lt;[email protected]&gt;<br>Subject: Re: [Nunit-users] 2.5 console runner
 documenation<br>To: [email protected]<br>Date: Sunday, September 7, 2008, 1:10 PM<br><br><div id="yiv1697249361">

 
<div><span class="093490620-07092008"></span><font face="Arial"><font color="#0000ff"><font size="2">Hi&nbsp;Jay,</font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"></font></font></font>&nbsp;</div>
<div><font><font><font face="Arial"><font color="#0000ff"><font size="2">T<span class="093490620-07092008">here doesn't seem to be a real need to customize 
console output, except possibly to 
have</span></font></font></font></font></font></div>
<div><font><font><font face="Arial"><font color="#0000ff"><font size="2"><span class="093490620-07092008">NUnit show more detailed info - an option I'm working 
on. Most people using&nbsp;the old 
feature</span></font></font></font></font></font></div>
<div><span class="093490620-07092008"></span><font face="Arial"><font color="#0000ff"><font size="2">s<span class="093490620-07092008">eemed to be producing 
html with it. That's still possible, but the xml would need to be 
</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span class="093490620-07092008">formatted after the</span></font></font></font><font face="Arial"><font color="#0000ff"><font size="2"><span class="093490620-07092008"> 
NUnit run.</span></font></font></font></div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span class="093490620-07092008"></span></font></font></font>&nbsp;</div>
<div><font face="Arial"><font color="#0000ff"><font size="2"><span class="093490620-07092008">Charlie</span></font></font></font></div>
<div><br></div>
<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> Sunday, September 07, 2008 12:54 PM<br><b>To:</b> 
  [email protected]<br><b>Subject:</b> Re: [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">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?&nbsp; 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>&lt;[email protected]&gt;</i></b> 
        wrote:<br>
        <blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">From: 
          Charlie Poole &lt;[email protected]&gt;<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>&nbsp;</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>&nbsp;</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>&nbsp;</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 &amp; 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&amp;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></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 &amp; 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&amp;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-450724208-1220822213=:76365--


--===============0971832429==
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=/
--===============0971832429==
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

--===============0971832429==--