functional test

Hi community

I have a question, how begin implement functional test with

phpunit 5.1.4 and yii 1.1.14

I can implement about this manually or tools.

Greetings