Creating a Custom UserControl TestContainer for Visual Studio

Posted by AMissico on Stack Overflow See other posts from Stack Overflow or by AMissico
Published on 2010-05-21T19:17:00Z Indexed on 2010/05/21 19:20 UTC
Read the original article Hit count: 286

Filed under:
|
|

I like to use the "UserControl TestContainer" that works great for testing a controls properties during design time. Yet it has limitations. Usually, I just create a Windows Form Application to test the control's run-time interface. It would be nice to combine the two phases. Today, I discovered that the test-container is defined in the project file as show below.

What I like to do is create my own test-container and use it for my Windows Forms Control Library projects in Visual Studio 2008. I cannot find any specific documentation, and the documentation I found was related to MSTest and not helpful. Any help, suggestions, or research directions for implementing my own test-container?

  <ItemGroup>
    <Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
  </ItemGroup>

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about winforms