SYSK 20: Testing UserControls without writing a line of code

In VS2005, you can test a user control using a tool called UserControl Test Container. 

If you have a control library project in VS, you can hit F5 and it will launch the Test Container.  The Test Container allows you to select the control you want to test, it renders the control, and it also has UI (similar to control properties of VS Designer) that allows you to change publicly exposed properties. 

Check it out!

Comments (2)

  1. PatriotB says:

    Is this akin to the ActiveX Control Test Container that came with VC6?

  2. irenake says:

    Good point. Very similar.

Skip to main content