CodeIgniter Forums
PHP Unit test with codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: PHP Unit test with codeigniter (/showthread.php?tid=33189)



PHP Unit test with codeigniter - El Forum - 08-18-2010

[eluser]Nathan Payne[/eluser]
I have been using Codeigniter for a few years but I am needing to get into to unit testing and need to know the best way to implement this into an existing platform.


PHP Unit test with codeigniter - El Forum - 08-18-2010

[eluser]Stenna[/eluser]
CodeIgniter's Unit Test class is quite simple, consisting of an evaluation function and two result functions. It's not intended to be a full-blown test suite but rather a simple mechanism to evaluate your code to determine if it is producing ... The test is evaluating an integer, but the expected result is a boolean. PHP,


Thanks

------------------