← Back to team overview

nunit-core team mailing list archive

Re: [Bug 1033967] Re: The "Text Output" Tab doesn't display Trace-Output anymore

 

Hi,

On Wed, Aug 29, 2012 at 4:39 AM, froomax <1033967@xxxxxxxxxxxxxxxxxx> wrote:
> Hi Charlie,
>
> My initial bug report was a bit too quick. I googled for problems with
> the trace output but didn't find anything so I thought it must be a
> newly introduced bug. I didn't notice that there actually is a setting
> since 2.6 that has be used to explicitly enable the trace output. Sorry
> for that!

Actually, there was a setting earlier as well - the format of the setting
changed with 2.6 and it may be that we didn't migrate old settings
correctly. Unfortunately, there's not much to do about it now if that's
the case, other than to let folks know.

> But would it be possible to enable this setting by default? Everyone
> here is used to first checking the trace output when there are problems
> with a test (we use loggers that generate trace output while testing)..
> right now / since 2.6 the setting has to be explicitly enabled or they
> won't see anything.

While we could do that, but it would probably only affect brand new users
of NUnit. The reason is that you already have an entry in your setting file
for what to display in the text output tab, so no default applies.

We could have avoided this by having a _separate_ setting for trace,
log etc. but the fact is there is only one setting for content. I may end
up rethinking this for NUnit 3.0, but I don't see any way to fix it for
2.6.2, at least for existing users.

Charlie
> ?
>
> Max
>
> --
> You received this bug notification because you are subscribed to NUnit
> Extended Testing Platform.
> https://bugs.launchpad.net/bugs/1033967
>
> Title:
>   The "Text Output" Tab doesn't display Trace-Output anymore
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nunitv2/+bug/1033967/+subscriptions

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1033967

Title:
  The "Text Output" Tab doesn't display Trace-Output anymore

Status in NUnit V2 Test Framework:
  Invalid

Bug description:
  It looks like there's a problem with the "Text Output" tab in NUnit
  2.6. It doesn't display Trace.WriteLines anymore.

  The following test displays "hello world!" in the Text Output tab of
  NUnit 2.5, but in NUnit 2.6 the window stays empty:

    [TestFixture]
    public class TraceTests {
      [Test]
      public void Test() {
        Trace.WriteLine("hello world!");
      } 
    }

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1033967/+subscriptions


References