Automatic Unit Tests

Apr 13, 2010 at 10:00 PM

I want to write automated unit tests to help me learn how to use the API and to test my code.  Is this possible?  I'm writing a web application using facebook connect.  Can I permanently authenticate using a user account and use that for my tests?  Or can I pop up a WinForms window to authenticate and then run my Facebook Connect tests?

Any ideas on how to do this?