nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01419
[Bug 434763] Re: NUnit console crashes producing XML output
Auto bug expiry isn't working, so I'm closing this manually.
** Changed in: nunitv2
Status: Incomplete => Won't Fix
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/434763
Title:
NUnit console crashes producing XML output
Status in NUnit V2 Test Framework:
Won't Fix
Bug description:
Reported by Daniel Nauck:
Nunit crashes while creating the xml output
========================================================================
[nunitTest] Unhandled Exception:
[nunitTest] System.ArgumentException: CDATA section must not contain ''.
[nunitTest] at System.Xml.XmlTextWriter.WriteCData (System.String text) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteCData (System.String
text) [0x00000]
[nunitTest] at NUnit.Util.XmlResultWriter.WriteFailureElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteChildResults
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.WriteResultElement
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.Util.XmlResultWriter.SaveTestResult
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.ConsoleRunner.ConsoleUi.CreateXmlOutput
(NUnit.Core.TestResult result) [0x00000] [nunitTest] at NUnit.ConsoleRunner.ConsoleUi.Execute
(NUnit.ConsoleRunner.ConsoleOptions options) [0x00000] [nunitTest] at NUnit.ConsoleRunner.Runner.Main (System.String[] args) [0x00000] ========================================================================
Maybe similar to this: https://bugzilla.novell.com/show_bug.cgi?id=520080
It happens during:
"$ mono Tools/NUnit/nunit-console.exe
Build/UnitTests/ThoughtWorks.CruiseControl.UnitTests.dll -xml=test.xml -nologo"
Using cruise control.net trunk svn rev 6057.
https://ccnet.svn.sourceforge.net/svnroot/ccnet/trunk/
(you can reproduce by executing ./build-all.sh)
Everything is tested on Mono version 2.5 (/trunk/mono r138501)