Automation Testing

What is the recommended process for adding automated testing to cocos2d-x applications?
We would like to know what people are using for automating functional, integration, and unit level testing of cocos2d-x applications.
How you do test driven or behavior driven development would also help.