UnitTests - 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: UnitTests (/showthread.php?tid=53299) |
UnitTests - El Forum - 07-18-2012 [eluser]Unknown[/eluser] Hello to all. I've found unit tests on GitHub (here). But I don't understand how to run their. Yes, I've installed phpUnit and vfsStream, but what next? Thanks. UnitTests - El Forum - 07-18-2012 [eluser]Jason Hamilton-Mascioli[/eluser] A good intro can be found here ... https://vimeo.com/28588831 UnitTests - El Forum - 07-18-2012 [eluser]Unknown[/eluser] Thank you. But this video explains how to test your own modules. And it's good idea for me. But I want to know how to run developer's tests in the "tests" folder. E.g., video author use phpUnit classes (his test class extends from PHPUnit_Framework_TestCase), but in "tests" folder all classes extend from CI_TestCase. So, I think there is some way to run these tests. |