Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
NUnit 2.6 RC - Issue with test time print out
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ryan Boggs  
View profile  
 More options Feb 6, 10:09 am
From: Ryan Boggs <rmbo...@gmail.com>
Date: Mon, 6 Feb 2012 07:09:15 -0800 (PST)
Local: Mon, Feb 6 2012 10:09 am
Subject: NUnit 2.6 RC - Issue with test time print out

Hi,

Just grabbed NUnit 2.6 release candidate.  It seems to be working ok so far
but the test result time print out seems to be inconsistent.  Sometimes a
time will print out fine while other times, it'll just display "Time:  
seconds".  NUnit 2.5 doesn't seem to have this problem.

FYI - I am working on updating NAnt's nunit2 task with the latest version
of nunit, which is where I am running into this issue.  If anyone is
interested, my repo is here:
https://github.com/rmboggs/nant/tree/nunitupdates

Thanks,
Ryan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charlie Poole  
View profile  
 More options Feb 6, 11:59 am
From: Charlie Poole <nunit...@gmail.com>
Date: Mon, 6 Feb 2012 08:59:17 -0800
Local: Mon, Feb 6 2012 11:59 am
Subject: Re: [nunit-discuss] NUnit 2.6 RC - Issue with test time print out
Hi Ryan,

Is this problem with the Gui or the console runner? If it's the Gui, there
are several places where the time is displayed, so please indicate which.
Have you found a particular way to trigger this problem?

Charlie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boggs  
View profile  
 More options Feb 6, 12:17 pm
From: Ryan Boggs <rmbo...@gmail.com>
Date: Mon, 6 Feb 2012 09:17:35 -0800 (PST)
Local: Mon, Feb 6 2012 12:17 pm
Subject: Re: NUnit 2.6 RC - Issue with test time print out
I'm using the API directly.  Code file can be found here:
https://github.com/rmboggs/nant/blob/nunitupdates/src/NAnt.NUnit/NUni...

This issue seems to be happening to certain test dlls.  Let me see if
I can get a log file together to help illustrate this issue further.

Thanks,
Ryan

On Feb 6, 8:59 am, Charlie Poole <nunit...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charlie Poole  
View profile  
 More options Feb 6, 1:06 pm
From: Charlie Poole <nunit...@gmail.com>
Date: Mon, 6 Feb 2012 10:06:41 -0800
Local: Mon, Feb 6 2012 1:06 pm
Subject: Re: [nunit-discuss] Re: NUnit 2.6 RC - Issue with test time print out
Hi Ryan,

From the code, it seems you are creating the output yourself, using the
xsl transform. Since NUnit no longer uses it, I suppose it's possible that
the XML format and the transform have diverged. Take a look at what's
in the raw xml file for the cases where you have incorrect output.

Charlie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boggs  
View profile  
 More options Feb 6, 5:38 pm
From: Ryan Boggs <rmbo...@gmail.com>
Date: Mon, 6 Feb 2012 14:38:44 -0800 (PST)
Local: Mon, Feb 6 2012 5:38 pm
Subject: Re: NUnit 2.6 RC - Issue with test time print out
It looks like the time is omitted whenever a test assembly contains
tests that are ignored.  At least in the xml test results file.  I'll
post the output xml files somewhere if needed.  Please let me know.

Thanks,
Ryan

On Feb 6, 10:06 am, Charlie Poole <nunit...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charlie Poole  
View profile  
 More options Feb 6, 5:59 pm
From: Charlie Poole <nunit...@gmail.com>
Date: Mon, 6 Feb 2012 14:59:52 -0800
Local: Mon, Feb 6 2012 5:59 pm
Subject: Re: [nunit-discuss] Re: NUnit 2.6 RC - Issue with test time print out
Posting the result file would help. In principle, an ignored test would not
have a time, since it didn't run. But that should not impact the summary unless
the assembly as a whole was ignored. Try running against mock-assembly.dll,
which has some ignored tests.

Charlie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boggs  
View profile  
 More options Feb 5, 7:27 pm
From: Ryan Boggs <rmbo...@gmail.com>
Date: Sun, 5 Feb 2012 16:27:03 -0800
Local: Sun, Feb 5 2012 7:27 pm
Subject: NUnit 2.6 RC - Issue with test time print out
Hi,

Just grabbed NUnit 2.6 release candidate.  It seems to be working ok
so far but the test result time print out seems to be inconsistent.
Sometimes a time will print out while other times, it'll just display
"Time:   seconds".  NUnit 2.5 doesn't seem to have this problem.

FYI - I am working on updating NAnt's nunit2 task with the latest
version of nunit, which is where I am running into this issue.  If
anyone is interested, my repo is here:
https://github.com/rmboggs/nant/tree/nunitupdates

Thanks,
Ryan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boggs  
View profile  
 More options Feb 6, 6:37 pm
From: Ryan Boggs <rmbo...@gmail.com>
Date: Mon, 6 Feb 2012 15:37:40 -0800 (PST)
Local: Mon, Feb 6 2012 6:37 pm
Subject: Re: NUnit 2.6 RC - Issue with test time print out
Looks like my original email posted again due to the moderation
issue.  Go ahead and ignore the email above.

I tested mock-assembly.dll and it printed out normally.  Upon closer
inspection of my test lib xml results, nunit is marking my whole
assembly as "executed=false, result=ignored" even when just a small
handful of tests are ignored.  The mock-assembly is being marked as
"executed=true, result=error".

<test-suite type="Assembly" name="D:\nant.git\build\net-4.0.win32\nant-
debug\bin\NAnt.Core.Tests.dll" executed="False" result="Ignored">
<test-suite type="Assembly" name="D:\test\mock-assembly.dll"
executed="True" result="Failure" success="False" time="0.047"
asserts="0">

Thanks,
Ryan

On Feb 5, 4:27 pm, Ryan Boggs <rmbo...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Charlie Poole  
View profile  
 More options Feb 6, 7:23 pm
From: Charlie Poole <nunit...@gmail.com>
Date: Mon, 6 Feb 2012 16:23:02 -0800
Local: Mon, Feb 6 2012 7:23 pm
Subject: Re: [nunit-discuss] Re: NUnit 2.6 RC - Issue with test time print out
Sounds like a bug  me. There have been some changes in the way that
test results propogate upward and this may be an unintended consequence.

Would you please file a bug report?

Charlie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boggs  
View profile  
 More options Feb 6, 7:59 pm
From: Ryan Boggs <rmbo...@gmail.com>
Date: Mon, 6 Feb 2012 16:59:55 -0800 (PST)
Local: Mon, Feb 6 2012 7:59 pm
Subject: Re: NUnit 2.6 RC - Issue with test time print out
Not a problem.  I have Xml output examples when testing with both 2.5
and 2.6 that I can provide.

I will report this tonight, if not tomorrow, in the same place I
reported the last bug.

Thanks for your time. :)
Ryan

On Feb 6, 4:23 pm, Charlie Poole <nunit...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boggs  
View profile  
 More options Feb 6, 10:49 pm
From: Ryan Boggs <rmbo...@gmail.com>
Date: Mon, 6 Feb 2012 19:49:33 -0800 (PST)
Local: Mon, Feb 6 2012 10:49 pm
Subject: Re: NUnit 2.6 RC - Issue with test time print out
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »