Testing a method that has a List<> as parameter RRS feed

  • Question

  • Hi there,

    I'm using VS2010 Ultimate and I need to create a Test with the following specifications:

    I've a list of Point List<Point> points which contains n points

    Once the list is filled I wanna test a method that uses them but I wanna supply the point’s position using a table in Microsoft Access.

    Can someone give me an idea about how to do that?

    I've realized other tests but against methods that do not use arrays nor lists so basically the amount of data passed to the method is fixed so I've created a column for each parameter in the table but I don’t know how to accomplish the same using a List as parameter.

    Any help will be appreciated,

    Thank you


    • Moved by lucy-liu Friday, December 2, 2011 6:08 AM it is not a msbuild issue (From:MSBuild)
    Friday, November 25, 2011 4:39 PM

All replies

  • Hi Namcot,

    I recommend you to find a more suitable forum in Visual Studio Testing Tools .

    The MSBuild forum only discusses the Microsoft build engine aka MSBuild. Topics including: usage of MSBuild, build customization, and MSBuild extensibility via tasks, loggers and hosting.

    Thank you for your understanding!


    Best regards,


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us
    Monday, November 28, 2011 7:25 AM
  • Hi Lucy,

    Thank you for the suggestion!

    Monday, November 28, 2011 2:21 PM