php - Unit testing facebook applications -


Unit testing What are the good practices of Facebook canvas applications?

Let's say that you have an MVC application that is the controllers using the local Facebook library which provides access to the graph API, FB session. All your applications must be certified before moving forward after the Facebook Authentication Mechanism (depending on OAuth and Facebook Connect ). You can use the unit tests for controllers How will you go with One thing comes to my mind - having a Facebook library with 'testing' mode and fake sessions can be a job, any idea is appreciated.

When I had this problem, I just created a Facebook Library Call Lip (or Functions Function One set), and unit tests that used to mimic the object.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -