Testing VSTO Applications?

Posted by Matthew Sposato on Stack Overflow See other posts from Stack Overflow or by Matthew Sposato
Published on 2010-05-18T20:44:55Z Indexed on 2010/05/18 23:40 UTC
Read the original article Hit count: 753

Filed under:
|
|

I'm developing an Word 2007 VSTO application in VS2008. The part of the application that interacts with VSTO is difficult to test. VSTO objects behave differently than most class libraries. Their state and behaviors depend on how the user is interacting with Word, where they clicked, what's around the insertion point, etc. Mock objects could work in some scenarios, but they don't capture many of the subtleties of the VSTO objects.

Anyone have any experience with testing VSTO based application they can share?

© Stack Overflow or respective owner

Related posts about vsto

Related posts about com