|
|
Subject: Re: NTime discussion - msg#00006
List: windows.dotnet.nunit.devel
Hi Charlie,
As we discussed sometime back, did you get a chance to look into Ntime - the
framework to test whether a test completed within the time desired ? Perhaps
we could make it as an Addin.
I have also submitted the feature request for displaying the time taken to
run a test.
Warm regards,
Abhinav
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: [PATCH] NUnit constraints made to use inNUnit.Mock
Hi Kouji,
I'm about to catch a plane, but I'll review the patch sometime in
the next few days and get back to you.
Charlie
> -----Original Message-----
> From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Kouji Matsui
> Sent: Thursday, January 03, 2008 4:14 AM
> To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> Subject: [nunit-developer] [PATCH] NUnit constraints made to
> use inNUnit.Mock
>
> Hi,
>
> As for NUnit.Mock that has been released now, a detailed
> assertion cannot be done.
> Then, when the object of comparison has succeeded to the
> NUnit.Framework.Constraints.Constraint class, it has improved
> it to use Assert.That.
>
> It is wanted to add it to the following release.
>
> #I am sorry for quick dirty hack this code.
> #I cannot do with TDD because I am very busy :-)
>
> Thanks.
>
> ----------------------
> Kouji Matsui
> mailto:k@xxxxxxxxx
> # It will be automatically discarded if the attached file of
> # executable files or "HTML mail" is transmitted to this mail address.
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Next Message by Date:
click to view message preview
Re: [PATCH] NUnit constraints made to use inNUnit.Mock
Hi Kouji,
A nice improvement. It's in my codebase and will be in the 2.4.6 release.
Charlie
> -----Original Message-----
> From: nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:nunit-developer-bounces@xxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Kouji Matsui
> Sent: Thursday, January 03, 2008 12:14 PM
> To: nunit-developer@xxxxxxxxxxxxxxxxxxxxx
> Subject: [nunit-developer] [PATCH] NUnit constraints made to
> use inNUnit.Mock
>
> Hi,
>
> As for NUnit.Mock that has been released now, a detailed
> assertion cannot be done.
> Then, when the object of comparison has succeeded to the
> NUnit.Framework.Constraints.Constraint class, it has improved
> it to use Assert.That.
>
> It is wanted to add it to the following release.
>
> #I am sorry for quick dirty hack this code.
> #I cannot do with TDD because I am very busy :-)
>
> Thanks.
>
> ----------------------
> Kouji Matsui
> mailto:k@xxxxxxxxx
> # It will be automatically discarded if the attached file of
> # executable files or "HTML mail" is transmitted to this mail address.
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Previous Message by Thread:
click to view message preview
NUnit Extensions Directory
I have created a set of pages on the web site to list extensions
created for use with NUnit. Right now it's a bit sparse but I'll
add to it as I receive submittals.
It's located at http://nunit.org/?p=extensions
Charlie
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Next Message by Thread:
click to view message preview
Possible bug with different versions of log4net...
Hello all,
In one of my projects, log4net version 1.2.9.0 is
used. I just upgraded to the latest version of nunit (2.4.6) through the
msi, which uses log4net version 1.2.10.0. When trying to load my unit
test assembly, I get the following error:
System.Reflection.TargetInvocationException : Exception has
been thrown by the target of an invocation.
System.TypeInitializationException : The type initializer
for “NUnit.Core.RemoteTestRunner” threw an exception.
System.IO.FileLoadException : The located assembly’s manifest
definition with name ‘log4net’ does not match the assembly
reference.
(Stack trace at end of email)
If I delete the log4net assembly from the bin directory of
my application, then the assembly loads fine in the nunit GUI. It seems to
me that nunit does not properly support a version of log4net different than the
one it uses. Is this a bug, or am I missing something? I have
created a small test project that can be used to reproduce the error as well,
which I can attach if needed.
Thanks,
Rich
Stack trace as promised:
System.IO.FileLoadException...
at NUnit.Core.RemoteTestRunner..cctor()
System.TypeInitializationException...
System.Reflection.TargetInvocationException...
Server stack trace:
at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
isBinderDefault)
at
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder
binder, Object[] parameters, CultureInfo culture)
at
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder,
Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type,
BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture,
Object[] activationAttributes)
at System.Activator.CreateInstance(String
assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String
assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes, Evidence securityInfo)
at System.AppDomain.CreateInstance(String
assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes,
Evidence securityAttributes)
at
System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence
securityAttributes)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase
mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,
IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName,
Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args,
CultureInfo culture, Object[] activationAttributes, Evidence
securityAttributes)
at NUnit.Util.TestDomain.MakeRemoteTestRunner(AppDomain
runnerDomain)
at NUnit.Util.TestDomain.Load(TestPackage
package)
at NUnit.Util.TestLoader.ReloadTest()
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
nunit-developer mailing list
nunit-developer@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nunit-developer
|
|