Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Instance not available
Message
From
29/09/2011 15:29:31
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01525048
Message ID:
01525201
Views:
34
>Tim,
>
>Under the MM.NET Business Objects section there is a section called 'Testing Business Objects in the Object Test Bench'. I am looking at a version 4 document, but it is possibly one of the first versions that came out.
>
>Either way, I guess you're suggesting I use nUnit for testing and debugging as an alternative?
>>Bob,

Yes, you can get nUnit for free and it works well. I would sure verify the version of your mmDev Guide as I do not find that section.


>>
>>Since I use nUnit for testing, I don't use the test bench. I did just do a search on Test Bench in the mm Dev guide and I didn't find any hits. Where do you see in the latest version it still references it? I just tried and found the same as you, and the link seems to indicate this also.
>>
>>
>>>Tim,
>>>
>>>This is the link that alerted me to the fact that this is not avalable:
>>>
>>>http://blogs.msdn.com/b/habibh/archive/2009/07/27/visual-studio-2010-rip-list-partial.aspx
>>>
>>>The information on this link says to use the Immediate Window to replace the Object Test Bench functionality that no longer exists but I haven't figured this out yet.
>>>
>>>The main reason I posted this in the MM forum is that the documentation for MM.NET 4.0 still instructs users to use the Object Test Bench. So, if MM.NET 4.0 requires VS 2010, why would the documentation still instruct you to use something that is not available?
>>>
>>>>Hi Tim,
>>>>
>>>>This is not the issue for me. I opened the Business project and it is set as the startup project. I searched for this issue and found that the create instance feature was a "RIP" item in VS 2010. Are you saying you can open a business project in VS 2010, put AAppTest.cs in a class diagram, right click it and you see 'Create Instance' as one of your options?
>>>>
>>>>Bob
>>>>
>>>>>>Hello all,
>>>>>>
>>>>>>I don't think this is an MM.NET issue but since the documentation mentions object test bench capabilities, I thought I would post it here. Basically, it appears that the 'Create Instance' option is not available when right clicking on a class in a class diagram in VS 2010. Is this the case? And if so, how can I test business object functions in a test bench environment?
>>>>>>
>>>>>>TIA
>>>>>>
>>>>>>Bob
>>>>>
>>>>>It is available, but you need to have the Business object project set as the startup project to do that. Once you have added another project and set it as the startup project you won't be able unless you set the business project back as the startup.
>>>>>
>>>>>The idea being that all that would be done before you add the application projects. I don't know if that is your issue, but I suspect so.
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform