Nunit and Windows Application

M

mychevworld

I'm a new user of Nunit and have done some testing against Class
Libraries, but haven't figured out how to test a Windows Application.
Do I have to include the Nunit test classes with the EXE project?
 
P

Peter Rilling

You cannot, simply because you cannot reference an EXE.

Let me backup and ask, are you talking about testing the code logic, or the
UI elements? If you are talking about the code logic, you could refractor
as much as possible into a library. My philosophy is to have as little
logic as possible in the UI tier.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top