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
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?
On Mon, Feb 6, 2012 at 7:09 AM, Ryan Boggs <rmbo...@gmail.com> wrote: > 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 received this message because you are subscribed to the Google Groups > "NUnit-Discuss" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/nunit-discuss/-/T4XqPZtNX_wJ. > To post to this group, send email to nunit-discuss@googlegroups.com. > To unsubscribe from this group, send email to > nunit-discuss+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/nunit-discuss?hl=en.
> 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
> On Mon, Feb 6, 2012 at 7:09 AM, Ryan Boggs <rmbo...@gmail.com> wrote:
> > 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 received this message because you are subscribed to the Google Groups
> > "NUnit-Discuss" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/nunit-discuss/-/T4XqPZtNX_wJ.
> > To post to this group, send email to nunit-discuss@googlegroups.com.
> > To unsubscribe from this group, send email to
> > nunit-discuss+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/nunit-discuss?hl=en.
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.
> 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: >> 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
>> On Mon, Feb 6, 2012 at 7:09 AM, Ryan Boggs <rmbo...@gmail.com> wrote: >> > 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 received this message because you are subscribed to the Google Groups >> > "NUnit-Discuss" group. >> > To view this discussion on the web visit >> >https://groups.google.com/d/msg/nunit-discuss/-/T4XqPZtNX_wJ. >> > To post to this group, send email to nunit-discuss@googlegroups.com. >> > To unsubscribe from this group, send email to >> > nunit-discuss+unsubscribe@googlegroups.com. >> > For more options, visit this group at >> >http://groups.google.com/group/nunit-discuss?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group. > To post to this group, send email to nunit-discuss@googlegroups.com. > To unsubscribe from this group, send email to nunit-discuss+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/nunit-discuss?hl=en.
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:
> 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.
> > 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:
> >> 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
> >> On Mon, Feb 6, 2012 at 7:09 AM, Ryan Boggs <rmbo...@gmail.com> wrote:
> >> > 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 received this message because you are subscribed to the Google Groups
> >> > "NUnit-Discuss" group.
> >> > To view this discussion on the web visit
> >> >https://groups.google.com/d/msg/nunit-discuss/-/T4XqPZtNX_wJ.
> >> > To post to this group, send email to nunit-discuss@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > nunit-discuss+unsubscribe@googlegroups.com.
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/nunit-discuss?hl=en.
> > --
> > You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
> > To post to this group, send email to nunit-discuss@googlegroups.com.
> > To unsubscribe from this group, send email to nunit-discuss+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/nunit-discuss?hl=en.
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.
On Mon, Feb 6, 2012 at 2:38 PM, Ryan Boggs <rmbo...@gmail.com> wrote: > 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: >> 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.
>> > 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: >> >> 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
>> >> On Mon, Feb 6, 2012 at 7:09 AM, Ryan Boggs <rmbo...@gmail.com> wrote: >> >> > 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 received this message because you are subscribed to the Google Groups >> >> > "NUnit-Discuss" group. >> >> > To view this discussion on the web visit >> >> >https://groups.google.com/d/msg/nunit-discuss/-/T4XqPZtNX_wJ. >> >> > To post to this group, send email to nunit-discuss@googlegroups.com. >> >> > To unsubscribe from this group, send email to >> >> > nunit-discuss+unsubscribe@googlegroups.com. >> >> > For more options, visit this group at >> >> >http://groups.google.com/group/nunit-discuss?hl=en.
>> > -- >> > You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group. >> > To post to this group, send email to nunit-discuss@googlegroups.com. >> > To unsubscribe from this group, send email to nunit-discuss+unsubscribe@googlegroups.com. >> > For more options, visit this group athttp://groups.google.com/group/nunit-discuss?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group. > To post to this group, send email to nunit-discuss@googlegroups.com. > To unsubscribe from this group, send email to nunit-discuss+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/nunit-discuss?hl=en.
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
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".
> 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
On Mon, Feb 6, 2012 at 3:37 PM, Ryan Boggs <rmbo...@gmail.com> wrote: > 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".
> On Feb 5, 4:27 pm, Ryan Boggs <rmbo...@gmail.com> wrote: >> 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 received this message because you are subscribed to the Google Groups "NUnit-Discuss" group. > To post to this group, send email to nunit-discuss@googlegroups.com. > To unsubscribe from this group, send email to nunit-discuss+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/nunit-discuss?hl=en.
> 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
> On Mon, Feb 6, 2012 at 3:37 PM, Ryan Boggs <rmbo...@gmail.com> wrote:
> > 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".
> > On Feb 5, 4:27 pm, Ryan Boggs <rmbo...@gmail.com> wrote:
> >> 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 received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
> > To post to this group, send email to nunit-discuss@googlegroups.com.
> > To unsubscribe from this group, send email to nunit-discuss+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/nunit-discuss?hl=en.