Re: 2.5 console runner documenation

"Charlie Poole" <[email protected]> Sun, 7 Sep 2008 13:10:48 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <000c01c91125$d35b54d0$6401a8c0@ferrari>
This is a multi-part message in MIME format.

--===============1032143618==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000D_01C910EB.26FC7CD0"

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C910EB.26FC7CD0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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


  _____  

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


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

So how do I, the end user, customize console output now?  The release notes
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


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


  _____  

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


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:

"Specifying the Transform file

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:

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

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."

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.

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.

-Jay 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=100&url=/
_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users



------=_NextPart_000_000D_01C910EB.26FC7CD0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.6000.16705" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D093490620-07092008></SPAN><FONT face=3DArial><FONT=20
color=3D#0000ff><FONT size=3D2>Hi&nbsp;Jay,</FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT=20
size=3D2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=3DArial><FONT color=3D#0000ff><FONT =
size=3D2>T<SPAN=20
class=3D093490620-07092008>here doesn't seem to be a real need to =
customize=20
console output, except possibly to=20
have</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT><FONT face=3DArial><FONT color=3D#0000ff><FONT =
size=3D2><SPAN=20
class=3D093490620-07092008>NUnit show more detailed info - an option I'm =
working=20
on. Most people using&nbsp;the old=20
feature</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><SPAN class=3D093490620-07092008></SPAN><FONT face=3DArial><FONT=20
color=3D#0000ff><FONT size=3D2>s<SPAN class=3D093490620-07092008>eemed =
to be producing=20
html with it. That's still possible, but the xml would need to be=20
</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D093490620-07092008>formatted after =
the</SPAN></FONT></FONT></FONT><FONT=20
face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN =
class=3D093490620-07092008>=20
NUnit run.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D093490620-07092008></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D093490620-07092008>Charlie</SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B>=20
  [email protected]=20
  [mailto:[email protected]] <B>On Behalf Of =
</B>Jay=20
  Lemmon<BR><B>Sent:</B> Sunday, September 07, 2008 12:54 =
PM<BR><B>To:</B>=20
  [email protected]<BR><B>Subject:</B> Re: [Nunit-users] =
2.5=20
  console runner documenation<BR></FONT><BR></DIV>
  <DIV></DIV>
  <TABLE cellSpacing=3D0 cellPadding=3D0 border=3D0>
    <TBODY>
    <TR>
      <TD vAlign=3Dtop>I just copied the 2.5 binaries over my old =
binaries, so=20
        it wasn't a fool proof test, no :)<BR><BR>So how do I, the end =
user,=20
        customize console output now?&nbsp; The release notes don't =
mention=20
        anything in this regard.<BR><BR>-Jay Lemmon<BR><BR>--- On =
<B>Sun,=20
        9/7/08, Charlie Poole =
<I>&lt;[email protected]&gt;</I></B>=20
        wrote:<BR>
        <BLOCKQUOTE=20
        style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: =
rgb(16,16,255) 2px solid">From:=20
          Charlie Poole &lt;[email protected]&gt;<BR>Subject: =
Re:=20
          [Nunit-users] 2.5 console runner documenation<BR>To:=20
          [email protected]<BR>Date: Sunday, September =
7, 2008,=20
          6:39 AM<BR><BR>
          <DIV id=3Dyiv257795230>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008>Hi Jay,</SPAN></FONT></DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008></SPAN></FONT>&nbsp;</DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008>There's mention in the release =
notes, under=20
          2.5 alpha 1, about the removal of the =
transform</SPAN></FONT></DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008>option. The console output is now =
indepedent=20
          of the xml, so it no longer has any =
purpose.</SPAN></FONT></DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008></SPAN></FONT>&nbsp;</DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008>Since the option is no longer =
there, I'm=20
          pretty sure it can't be working. :-) Are you =
sure</SPAN></FONT></DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008>you were using 2.5 for your=20
          test?</SPAN></FONT></DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008></SPAN></FONT>&nbsp;</DIV>
          <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
          class=3D796543513-07092008>Charlie</SPAN></FONT></DIV><BR>
          <BLOCKQUOTE=20
          style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: =
rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
            <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft>
            <HR tabIndex=3D-1>
            <FONT face=3DTahoma size=3D2><B>From:</B>=20
            [email protected]=20
            [mailto:[email protected]] <B>On =
Behalf Of=20
            </B>Jay Lemmon<BR><B>Sent:</B> Saturday, September 06, 2008 =
9:42=20
            PM<BR><B>To:</B>=20
            [email protected]<BR><B>Subject:</B> =
[Nunit-users]=20
            2.5 console runner documenation<BR></FONT><BR></DIV>
            <DIV></DIV>
            <TABLE cellSpacing=3D0 cellPadding=3D0 border=3D0>
              <TBODY>
              <TR>
                <TD vAlign=3Dtop>When comparing the 2.4.8 docs and the =
2.5 docs,=20
                  I noticed that this section in console runner: =
command-line=20
                  was mostly deleted and partly merged with the one =
before=20
                  it:<BR><BR><SPAN style=3D"FONT-WEIGHT: =
bold">"Specifying the=20
                  Transform file</SPAN><BR style=3D"FONT-WEIGHT: =
bold"><BR=20
                  style=3D"FONT-WEIGHT: bold"><SPAN =
style=3D"FONT-WEIGHT: bold">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 =
program=20
                  executes. The console interface has a default =
transformation=20
                  that is part of the executable. To specify your own=20
                  transformation named "myTransform.xslt" use the =
following=20
                  command line option:</SPAN><BR style=3D"FONT-WEIGHT: =
bold"><BR=20
                  style=3D"FONT-WEIGHT: bold"><SPAN=20
                  style=3D"FONT-WEIGHT: bold">nunit-console=20
                  /transform:myTransform.xslt nunit.tests.dll</SPAN><BR=20
                  style=3D"FONT-WEIGHT: bold"><BR style=3D"FONT-WEIGHT: =
bold"><SPAN=20
                  style=3D"FONT-WEIGHT: bold">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. =
The=20
                  default transform Summary.xslt is located in the core =
source=20
                  directory."</SPAN><BR style=3D"FONT-WEIGHT: =
bold"><BR>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.<BR><BR>Is this an error =
in the=20
                  docs, or is this feature (specifying a transform) =
going to be=20
                  removed in 2.5? A quick test shows that it still=20
                  works.<BR><BR>-Jay=20
          =
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=3D100&amp;url=3D=
/</PRE><PRE>_______________________________________________<BR>Nunit-user=
s mailing =
list<BR>[email protected]<BR>https://lists.sourceforge.ne=
t/lists/listinfo/nunit-users<BR></PRE></BLOCKQUOTE></TD></TR></TBODY></TA=
BLE><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000D_01C910EB.26FC7CD0--




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

--===============1032143618==--