Testing a Windows Application, by outputting to the console
Posted on 2008-10-03
I have created a windows application.
What I want to do is create a ConsoleApplication loads the windows application in the backround so that it can access / set propertys and methods. While it is doing this, I want it to output results to the Console.
The ConsoleApplication itself will never show any part of the Windows Application that I have used, it will only be used to run tests.
I have tried Creating a ConsoleApplication in C#, but I cannot declare "System.Windows.Forms", without getting a compile error.
Any suggestions on how I should approach this?