CodeIgniter Forums
PHP Unit test with codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: PHP Unit test with codeigniter (/thread-33189.html)



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

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