Hi
It looks like a problem in TD.NET itself, we are not throwing the exception:
System.ApplicationException: Couldn't find member with name
'BasicObjectCRUDTest' and XML name
'M:HappyFirst.Fixture.BasicObjectCRUDTest(System.Nullable<System.Int32>,System.Nullable<System.Int32>)'
at
MutantDesign.Xml.Documentation.MemberInfoUtilities.FindMemberInfo(Assembly
assembly, String xmlName)
at TestDriven.TestRunner.AdaptorTestRunner.Run(ITestListener
testListener, ITraceListener traceListener, String assemblyPath,
String testPath)
at TestDriven.TestRunner.ThreadTestRunner.Runner.Run()
Pretty annoying. As a workaround you can run the whole fixture. You
should report this bug to Jamie Cansdale
http://support.testdriven.net/default.asp?pg=pgPublicEdit
Julián
On 6/18/08, happyfirst <[EMAIL PROTECTED]> wrote:
>
> I have some test methods which have nullable parameters (int?, etc) as
> inputs for some optional data. Everything compiles but when I try to
> run the test I get:
>
> failed: Couldn't find member with name 'BasicObjectCRUDTest' and XML
> name
> 'M:OrderTests.BasicObjectCRUDTest(System.Nullable<System.Int32>,System.Nullable<System.Int32>)'
>
> Here's the test:
>
> [Test]
> [Row(1,null)]
> [Row(null,1)]
> public void BasicObjectCRUDTest( int? iUserID , int? iCustomerID )
> {
> .....
>
>
>
> Does row work with test methods where one or more parameters are a
> nullable type?
>
> thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---