CodeIgniter Forums

Full Version: UnitTests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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.

El Forum

[eluser]Jason Hamilton-Mascioli[/eluser]
A good intro can be found here ... https://vimeo.com/28588831

El Forum

[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.