Test Unit

Add-in Express™ Support Service
That's what is more important than anything else

Test Unit
 
Oscar Maire-Richard




Posts: 26
Joined: 2010-11-09
Hi,

I've developed an addin and now i'd like to programm a TestUnit project using nunit. The problem is that I don't know how to load the addin from a TestUnit class.

I've tried creating a Word Application using the Word.ApplicationClass but this doen't load the addin. When I try to access to the AddinModule object, his value is null.

Any idea how to make test units for an addin???

Best Regards
Posted 18 May, 2011 19:07:08 Top
Eugene Astafiev


Guest


Hi Oscar,

Please note that you develop a COM add-in (not a standalone application which can be tested using the NUnit utility). Moreover, the NUnit tool is not designed for testing COM add-ins.
Posted 19 May, 2011 06:36:56 Top
Oscar Maire-Richard




Posts: 26
Joined: 2010-11-09
Thanks for the response!!!

The objective of my question was if someone can give me an idea to make test units for an add-in or if you know some tool than could help me. If this is not possible, I'll have to continue making all my test manually.

Best Regards...
Posted 19 May, 2011 08:38:26 Top
Eugene Astafiev


Guest


Hi Oscar,

I regret to tell you the truth but you need to keep testing your add-ins manually.
Posted 19 May, 2011 08:42:23 Top
Oscar Maire-Richard




Posts: 26
Joined: 2010-11-09
It's a pity...

Thanks very much for the response!!!
Posted 19 May, 2011 08:53:59 Top
Eugene Astafiev


Guest


You are welcome, Oscar Maire-Richard!
Posted 19 May, 2011 09:55:04 Top