Thursday, June 17, 2004

MbUnit 2.1.5.1 Beta is ready for download.  See latest release page on this blog for the download links

Issues, feature requests, and other bugs: please do not post them on the blog. You have two options (please it's easier to track things)

We have a menu!

posted on Thursday, June 17, 2004 7:53:00 AM UTC  #    Comments [17]
Tracked by:
http://www.google.com/search?q=gxoknzgp [Pingback]
"online pay survey" (online) [Trackback]
"cooking pinto beans" (online) [Trackback]
Monday, June 06, 2005 5:56:07 PM UTC
Powertoys WebLog
Monday, June 06, 2005 5:56:07 PM UTC
This looks REAL promising! Do you know about NTimer? It is sort of a one-off of NUNIT that provides performance information, it might be useful to enable <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a> to do performance tracking and testing as well
John H. Bergman
Monday, June 06, 2005 5:56:07 PM UTC
There is already some performance tracking: use the DurationAttribute
<br>
<br>see here:
<br><a target="_new" href="http://blog.dotnetwiki.org/archive/2004/04/30/181.aspx">http://blog.dotnetwiki.org/archive/2004/04/30/181.aspx</a>
Jonathan de Halleux
Monday, June 06, 2005 5:56:08 PM UTC
I keep getting There is an error in XML document. I'm using .NET 1.1
<br>
<br>Is this common?
TagStar
Monday, June 06, 2005 5:56:08 PM UTC
Oops, this file may be missing it is used by one of the demo fixture (you have to name sample.xml)
<br>
<br>&lt;pre&gt;
<br>&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&amp;gt;
<br>&amp;lt;DataFixture&amp;gt;
<br>&amp;lt;Employees&amp;gt;
<br> &amp;lt;User Name=&quot;Mickey&quot; LastName=&quot;Mouse&quot; /&amp;gt;
<br>&amp;lt;/Employees&amp;gt;
<br>&amp;lt;Customers&amp;gt;
<br> &amp;lt;User Name=&quot;Jonathan&quot; LastName=&quot;de Halleux&quot; /&amp;gt;
<br> &amp;lt;User Name=&quot;Voldo&quot; LastName=&quot;Unkown&quot; /&amp;gt;
<br> &amp;lt;/Customers&amp;gt;
<br> &amp;lt;/DataFixture&amp;gt;
<br>&lt;/pre&gt;
Jonathan de Halleux
Monday, June 06, 2005 5:56:10 PM UTC
The same, in xml
<br>
<br> &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
<br>&lt;DataFixture&gt;
<br>&lt;Employees&gt;
<br> &lt;User Name=&quot;Mickey&quot; LastName=&quot;Mouse&quot; /&gt;
<br> &lt;/Employees&gt;
<br>&lt;Customers&gt;
<br> &lt;User Name=&quot;Jonathan&quot; LastName=&quot;de Halleux&quot; /&gt;
<br> &lt;User Name=&quot;Voldo&quot; LastName=&quot;Unkown&quot; /&gt;
<br> &lt;/Customers&gt;
<br> &lt;/DataFixture&gt;
Jonathan de Halleux
Monday, June 06, 2005 5:56:11 PM UTC
Jonathan,
<br>what do you think about adding AgileDox (<a target="_new" href="http://agiledox.sourceforge.net/">http://agiledox.sourceforge.net/</a>) like support for <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a> or <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a> ?
<br>
<br>Beside that I still cannot use <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a> (never succeed) with an assembly with nunit 2.1 tests.
<br>
<br>Here is the stack trace:
<br>
<br>See the end of this message for details on invoking
<br>just-in-time (JIT) debugging instead of this dialog box.
<br>
<br>************** Exception Text **************
<br>System.Runtime.Serialization.SerializationException: The type System.ResolveEventArgs in Assembly mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 is not marked as serializable.
<br>
<br>Server stack trace:
<br> at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type, Boolean excludeNonSerializable)
<br> at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
<br> at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
<br> at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
<br> at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter)
<br> at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
<br> at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
<br> at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessageParts(ArrayList argsToSerialize)
<br> at System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage..ctor(IMethodCallMessage mcm)
<br> at System.Runtime.Remoting.Messaging.SmuggledMethodCallMessage.SmuggleIfPossible(IMessage msg)
<br> at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
<br>
<br>Exception rethrown at [0]:
<br> at System.Reflection.CustomAttribute.IsCADefined(RuntimeType caType, IntPtr module, Int32 token)
<br> at System.Reflection.CustomAttribute.IsCADefinedCheckType(Type caType, IntPtr module, Int32 token)
<br> at System.Reflection.CustomAttribute.IsDefined(MemberInfo member, Type caType, Boolean inherit)
<br> at System.Reflection.CustomAttribute.IsDefined(Type type, Type caType, Boolean inherit)
<br> at System.RuntimeType.IsDefined(Type attributeType, Boolean inherit)
<br> at <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Core.ReflectionExplorer.Explore(Assembly a)
<br> at <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Core.Remoting.RemoteTestTree.AddAssembly(String assemblyLocation)
<br> at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]&amp; outArgs)
<br> at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
<br>
<br>Exception rethrown at [1]:
<br> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
<br> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
<br> at <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Core.Remoting.RemoteTestTree.AddAssembly(String assemblyLocation)
<br> at <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Forms.ReflectorTreeView.AddAssembly(String file)
<br> at <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Forms.ReflectorTreeView.AddAssembliesByDialog()
<br> at <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.GUI.mbunitForm.menuItemAssembliesAddAssemblies_Click(Object sender, EventArgs e)
<br> at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
<br> at System.Windows.Forms.MenuItemData.Execute()
<br> at System.Windows.Forms.Command.Invoke()
<br> at System.Windows.Forms.Control.WmCommand(Message&amp; m)
<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)
<br> at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)
<br> at System.Windows.Forms.ContainerControl.WndProc(Message&amp; m)
<br> at System.Windows.Forms.Form.WndProc(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&amp; m)
<br> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br>
<br>
<br>************** Loaded Assemblies **************
<br>mscorlib
<br> Assembly Version: 1.0.5000.0
<br> Win32 Version: 1.1.4322.573
<br> CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
<br>----------------------------------------
<br><a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.GUI
<br> Assembly Version: 2.15.1.0
<br> Win32 Version: 2.15.1.0
<br> CodeBase: file:///C:/.NET/Releases/Unpackaged/mbunit-2.15.1-StrongRelease-net-1.1/MbUnit.GUI.exe
<br>----------------------------------------
<br>System.Windows.Forms
<br> Assembly Version: 1.0.5000.0
<br> Win32 Version: 1.1.4322.573
<br> CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
<br>----------------------------------------
<br>System
<br> Assembly Version: 1.0.5000.0
<br> Win32 Version: 1.1.4322.573
<br> CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
<br>----------------------------------------
<br><a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Forms
<br> Assembly Version: 2.15.1.0
<br> Win32 Version: 2.15.1.0
<br> CodeBase: file:///C:/.NET/Releases/Unpackaged/mbunit-2.15.1-StrongRelease-net-1.1/MbUnit.Forms.DLL
<br>----------------------------------------
<br>MagicLibrary
<br> Assembly Version: 1.7.4.0
<br> Win32 Version: 1.7.4.0
<br> CodeBase: file:///C:/.NET/Releases/Unpackaged/mbunit-2.15.1-StrongRelease-net-1.1/MagicLibrary.DLL
<br>----------------------------------------
<br>System.Drawing
<br> Assembly Version: 1.0.5000.0
<br> Win32 Version: 1.1.4322.573
<br> CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
<br>----------------------------------------
<br><a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a>.Core
<br> Assembly Version: 2.15.1.0
<br> Win32 Version: 2.15.1.0
<br> CodeBase: file:///C:/.NET/Releases/Unpackaged/mbunit-2.15.1-StrongRelease-net-1.1/MbUnit.Core.DLL
<br>----------------------------------------
<br>System.Xml
<br> Assembly Version: 1.0.5000.0
<br> Win32 Version: 1.1.4322.573
<br> CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
<br>----------------------------------------
<br>Microsoft.ApplicationBlocks.ExceptionManagement
<br> Assembly Version: 1.0.0.0
<br> Win32 Version: 1.0.0.0
<br> CodeBase: file:///C:/.NET/Releases/Unpackaged/mbunit-2.15.1-StrongRelease-net-1.1/Microsoft.ApplicationBlocks.ExceptionManagement.DLL
<br>----------------------------------------
<br>Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces
<br> Assembly Version: 1.0.0.0
<br> Win32 Version: 1.0.0.0
<br> CodeBase: file:///C:/.NET/Releases/Unpackaged/mbunit-2.15.1-StrongRelease-net-1.1/Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.DLL
<br>----------------------------------------
<br>
<br>************** JIT Debugging **************
<br>To enable just in time (JIT) debugging, the config file for this
<br>application or machine (machine.config) must have the
<br>jitDebugging value set in the system.windows.forms section.
<br>The application must also be compiled with debugging
<br>enabled.
<br>
<br>For example:
<br>
<br>&lt;configuration&gt;
<br> &lt;system.windows.forms jitDebugging=&quot;true&quot; /&gt;
<br>&lt;/configuration&gt;
<br>
<br>When JIT debugging is enabled, any unhandled exception
<br>will be sent to the JIT debugger registered on the machine
<br>rather than being handled by this dialog.
<br>
<br>
<br>
federico
Monday, June 06, 2005 5:56:11 PM UTC
Hi Frederico,
<br>
<br>I did not know about agildox but it looks really nice and easy to implement.
<br>
<br>Please, could avoid posting bug reports in the blog and use the <a title="MbUnit, Generating Unit Testing and Model Based Testing Framework for .NET Framework" href="http://mbunit.tigris.org" target="_blank">MbUnit</a> issue tracking or issues@mbunit.tigris.org mailing list. :)
Jonathan de Halleux
Monday, June 06, 2005 5:56:12 PM UTC
R
Monday, June 06, 2005 5:56:13 PM UTC
Still can't call static methods with parameters. :) Can call parameterless static methods now though! It's great!
Aaron A. Anderson
Monday, June 06, 2005 5:56:13 PM UTC
Hello, I'd be interested in tour <a title="CodeSmith" href="http://www.ericjsmith.net/codesmith/" target="_blank">CodeSmith</a> template &quot;testFixture.cst&quot; but it references <a title="QuickGraph, 100% C# directed graph library" href="http://mbunit.tigris.org" target="_blank">QuickGraph</a> assemblies that doesn't seem to be included in your release for .NET 1.1 :
<br>
<br>(0,0): error CODESMITH0001: Unable to resolve assembly &quot;QuickGraph.Applications&quot;. Make sure the assembly is located in the main application directory, in the same directory as the template file or has been registered in the global assembly cache.
<br>(0,0): error CODESMITH0001: Unable to resolve assembly &quot;QuickGraph.Concepts&quot;. Make sure the assembly is located in the main application directory, in the same directory as the template file or has been registered in the global assembly cache.
<br>(0,0): error CODESMITH0001: Unable to resolve assembly &quot;QuickGraph.Collections&quot;. Make sure the assembly is located in the main application directory, in the same directory as the template file or has been registered in the global assembly cache.
<br>(146,12): error CS0246: Le type ou le nom d'espace de noms 'IlGrapher' est introuvable (une directive using ou une r&#233;f&#233;rence d'assembly est-elle manquante ?)
<br>(558,31): error CS0246: Le type ou le nom d'espace de noms 'IlGrapher' est introuvable (une directive using ou une r&#233;f&#233;rence d'assembly est-elle manquante ?)
<br>
<br>Build complete -- 5 errors, 0 warnings
<br>
<br>
<br>Can you tell me where I can find these assemblies ? Thanks in advance.
Stéphane Baudet
Monday, June 06, 2005 5:56:14 PM UTC
Well, I went further and I actually found that namespaces <a title="QuickGraph, 100% C# directed graph library" href="http://mbunit.tigris.org" target="_blank">QuickGraph</a>.Concepts and <a title="QuickGraph, 100% C# directed graph library" href="http://mbunit.tigris.org" target="_blank">QuickGraph</a>.Collections are parts of <a title="QuickGraph, 100% C# directed graph library" href="http://mbunit.tigris.org" target="_blank">QuickGraph</a>.dll.
<br>But I put it in the same directory as <a title="CodeSmith" href="http://www.ericjsmith.net/codesmith/" target="_blank">CodeSmith</a> as well as the GAC, and it's still displaying this error. Strange, isn't it ?...
Stéphane Baudet
Monday, June 06, 2005 5:56:14 PM UTC
That <a title="CodeSmith" href="http://www.ericjsmith.net/codesmith/" target="_blank">CodeSmith</a> template might be out of date now. It has been replaced by the <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a> Unit Test Generator Add-in see <a target="_new" href="http://blog.dotnetwiki.org/archive/2004/06/10/390.aspx">http://blog.dotnetwiki.org/archive/2004/06/10/390.aspx</a>
Jonathan de Halleux
Monday, June 06, 2005 5:56:15 PM UTC
You need to recompile the <a title="CodeSmith" href="http://www.ericjsmith.net/codesmith/" target="_blank">CodeSmith</a> template...
Jonathan de Halleux
Monday, June 06, 2005 5:56:15 PM UTC
Powertoys WebLog
Monday, June 06, 2005 5:56:16 PM UTC
Cannot dl 2.15.1 !!!!
Vanof
Monday, June 06, 2005 5:56:16 PM UTC
Get the latest build at <a target="_new" href="http://mbunit.tigris.org">http://mbunit.tigris.org</a>
Jonathan de Halleux
Comments are closed.