Re: 2.5 console runner documenation

"Charlie Poole" <[email protected]> Sun, 7 Sep 2008 06:39:20 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <002f01c910ef$235a5300$6401a8c0@ferrari>
This is a multi-part message in MIME format.

--===============1784305628==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0030_01C910B4.76FB7B00"

This is a multi-part message in MIME format.

------=_NextPart_000_0030_01C910B4.76FB7B00
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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
	



------=_NextPart_000_0030_01C910B4.76FB7B00
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><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D796543513-07092008>Hi=20
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 =
2.5 alpha=20
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 =
of the=20
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 =
class=3D796543513-07092008>Since=20
the option is no longer there, I'm pretty sure it can't be working. :-) =
Are you=20
sure</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D796543513-07092008>you=20
were using 2.5 for your 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: #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> Saturday, September 06, 2008 9:42 =
PM<BR><B>To:</B>=20
  [email protected]<BR><B>Subject:</B> [Nunit-users] 2.5 =
console=20
  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, I =
noticed=20
        that this section in console runner: command-line was mostly =
deleted and=20
        partly merged with the one before it:<BR><BR><SPAN=20
        style=3D"FONT-WEIGHT: bold">"Specifying the Transform =
file</SPAN><BR=20
        style=3D"FONT-WEIGHT: bold"><BR style=3D"FONT-WEIGHT: =
bold"><SPAN=20
        style=3D"FONT-WEIGHT: bold">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 =
transformation=20
        that is part of the executable. To specify your own =
transformation named=20
        "myTransform.xslt" use the following command line =
option:</SPAN><BR=20
        style=3D"FONT-WEIGHT: bold"><BR style=3D"FONT-WEIGHT: =
bold"><SPAN=20
        style=3D"FONT-WEIGHT: bold">nunit-console =
/transform:myTransform.xslt=20
        nunit.tests.dll</SPAN><BR style=3D"FONT-WEIGHT: bold"><BR=20
        style=3D"FONT-WEIGHT: bold"><SPAN style=3D"FONT-WEIGHT: =
bold">Note: For=20
        additional information see the XML schema for the test results. =
This=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 core=20
        source 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 =
Results.xsd is=20
        merged in to the section before it on specifying an output xml=20
        file.<BR><BR>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 shows=20
        that it still works.<BR><BR>-Jay=20
Lemmon<BR></TD></TR></TBODY></TABLE><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0030_01C910B4.76FB7B00--




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

--===============1784305628==--