Hi Scott,
What version of the .NET Framework are you using to compile and run the
tests on?
Thanks
Andy
On 11/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I'm looking to use MbUnit's ThreadedRepeat combined with
> [CombinatorialTest] to make sure my classes are thread independent.
>
> but I'm experiencing some trouble with and MbUnit.
>
> I get random exceptions with the following test code:
>
> [Factory(typeof(string))]
> public System.Collections.IEnumerable GetSomeTestItems()
> {
> for (int ii = 0; ii < 1000; ii++)
> {
> yield return ii.ToString();
> }
> }
>
> [ThreadedRepeat(3)]
> [CombinatorialTest]
> public void CTTest([UsingFactories("GetSomeTestItems")]string
> ti)
> {
> Console.WriteLine("Test " + ti);
> }
>
> Type:System.Exception
> Message:Runner throwed.
> Source:MbUnit.Framework
> TargetSite:System.Object Execute(System.Object,
> System.Collections.IList)
> StackTrace:
> at MbUnit.Core.Invokers.ThreadedRepeatRunInvoker.Execute(Object o,
> IList args)
> at MbUnit.Core.RunPipeStarter.Run(Object fixture)
>
> Type:System.Reflection.TargetParameterCountException
> Message:Parameter count mismatch.
> Source:mscorlib
> TargetSite:System.Object Invoke(System.Object,
> System.Reflection.BindingFlags, System.Reflection.Binder,
> System.Object[], System.Globalization.CultureInfo, Boolean)
> StackTrace:
>
> at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] parameters,
> CultureInfo culture, Boolean skipVisibilityChecks)
> at System.Reflection.RuntimeMethodInfo.Invoke(Object obj,
> BindingFlags invokeAttr, Binder binder, Object[] parameters,
> CultureInfo culture)
> at System.Reflection.MethodBase.Invoke(Object obj, Object[]
> parameters)
> at MbUnit.Core.Runs.CombinatorialRun.TupleRunInvoker.Execute(Object
> o, IList args)
> at
>
> MbUnit.Core.Invokers.ThreadedRepeatRunInvoker.ThreadedRunInvokerStarter.Run
> ()
>
>
>
> Any help?
>
> --Scott
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---