Panada Unit Test
Run
Run it by using : http://localhost/{yourproject}/UnitTest
I suggest to not push it to live server
How it works
Panada Unit Test controller will read all existing Models file and read comment that give information about how particular function works.
Comments
Write comment format like:
/*UnitTest:{functionname}({var1},{var2})|{var1type},{var2type}|{expectedresult}*/
Example:
/*UnitTest:getRandomPost(5,false)|int,bool|array*/