Hot answers tagged


I don't know what "in an office setting" means here. I use WinTask for lots of my testing. You can find links to trials of it and other tools here. Perhaps one or more of these might help:


The answer to almost all questions about unit testing is "decouple from dependencies". Refactor your code to decouple the logic (which you want to test) from the interactions with with Excel. Remember that unit tests should answer the question "does the code I am writing do what I intend it to do" and not "does my program work properly" - that's for ...


I haven't done this type of testing, what I would recommend is looking into how you can write office macros that utilise the functions of your add-in to test it's functionality. You should be able to add vba command buttons to a spreadsheet or document or the word toolbar that runs your tests. I am assuming that as you are testing and adding in VSTO, you ...

Only top voted, non community-wiki answers of a minimum length are eligible