[Mono-list] Mono NUnit question
Joseph Kong
jskong8@yahoo.com
Thu, 13 Nov 2003 16:31:55 -0800 (PST)
Dear Mono team,
I wrote a simple test program and successfully
compiled it to "mytest.dll" Then, I tried to execute
it by doing the following: nunit-console mytest.dll
And, I obtained the following msg:
NUnit version 2.0.9
Copyright (C) 2002 James W. Newkirk, Michael C. Two,
Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
** (/usr/bin/nunit-console:1217): WARNING **: Failed
to load function xsltSaveResultToString from xslt
** (/usr/bin/nunit-console:1217): WARNING **: Failed
to load function xsltSaveResultToString from xslt
Unhandled Exception: System.MissingMethodException: A
missing method exception has occurred.
in <0x00042> 06
System.Xml.Xsl.UnmanagedXslTransform:xsltSaveResultToString
(intptr&,int&,intptr,intptr)
in <0x00041> 00
System.Xml.Xsl.UnmanagedXslTransform:GetStringFromDocument
(intptr,intptr)
in <0x0003f> 00
System.Xml.Xsl.UnmanagedXslTransform:ApplyStylesheetAndGetString
(intptr,string[],System.Collections.Hashtable)
in <0x0051b> 00
System.Xml.Xsl.UnmanagedXslTransform:Transform
(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.Xml.XmlWriter,System.Xml.XmlResolver)
in <0x00054> 00 System.Xml.Xsl.XslTransform:Transform
(System.Xml.XPath.XPathNavigator,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
in <0x00037> 00 System.Xml.Xsl.XslTransform:Transform
(System.Xml.XPath.IXPathNavigable,System.Xml.Xsl.XsltArgumentList,System.IO.TextWriter)
in <0x0008c> 00
NUnit.Console.ConsoleUi:CreateSummaryDocument ()
in <0x000b4> 00 NUnit.Console.ConsoleUi:Execute ()
in <0x002d9> 00 NUnit.Console.ConsoleUi:Main
(string[])
Finalization cycle involving 805dd80
Segmentation fault
I noticed that a file "TestResult.xml" is generated.
Can anybody tell me what I did wrong and what is the
proper way to run nunit under the mono environment?
We appreciate any help!
Joseph Kong
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree