SimpleTest with Code Igniter |
[eluser]Eduardo Hertz[/eluser]
Hi everyone. I'm reading a book about Extreme Programming and I'm starting to try to use it. At first, I'm trying to use TDD in my projects. I checked 2 libraries which helps in TDD: PHPUnit and SimpleTest. I preferred the last one. I've already integrated it into CI and now comes the big question: How can I test my controllers? Thank you.
[eluser]bigtony[/eluser]
Have you tried CI's built-in [url="http://ellislab.com/codeigniter/user-guide/libraries/unit_testing.html"]unit testing[/url] class?
[eluser]matt2012[/eluser]
I test my controllers by web testing the front end (including logged in areas) see my response here http://ellislab.com/forums/viewreply/794195/ - basically using Eric Barnes codeigniter-simpletest integration |
Welcome Guest, Not a member yet? Register Sign In |