What are good practices of unit testing facebook Canvas applications ?
Lets say you have MVC application with controllers utilizing local Facebook library which provides access to Graph API, FB session. After all your application depends on facebook authentication mechanism (OAuth and Facebook Connect) thus user is required to authenticate before proceeding.. How would you go with unit tests for controllers ? One thing comes to my mind - having a Facebook library with 'testing' mode and fake session might do the job. Any ideas are appreciated.