Unit Testing With VS2008

i am trying to create a unit test in VS 2008 on a particular business object.  The steps I took were to right click on Public Class Items and then click Create Unit Test.  There are six methods implemented in Class Items and all appear in the ItemsTest Class that was created.  

The problem I am having is I am getting errors on the line that says

actual = target MethodName(parameters)

It complains that the method is not a member of the target class which is defined as
Dim target As Items = New Items

Can anyone tell me what the issue is here?



sherbug1015Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jacques Bourgeois (James Burger)Connect With a Mentor PresidentCommented:
Could you post the actual code. There is at least one mistake what you posted (no dot between target and MethodName). Sending similar code or code that you type by hand never gives the right picture or the whole picture and does not enable us to see what the problem could be.
0
 
Anthony PerkinsCommented:
>>Zones: SQL Server 2008, Microsoft Visual Basic.Net<<
Has this question got anything to do with SQL Serfver 2008?
0
 
sherbug1015Author Commented:
JamesBurger:  Thanks for your answer, but I realized that I had to fully qualify the method name.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.