Search code examples
unit-testingphpunitcodeigniter-2

Has CodeIgniter 2.0 / PHPUnit happened yet?


So i've just had a pretty disappointing morning/weekend. It came in the form of setting up PHPUnit, Integrating Eclipse etc

Now i've just discovered that there's no straightforward way to test CodeIgniter 2.0 applications directly from PHPUnit.

I've spent a lot of time researching libraries (FooStack and CIUnit) but the development of these has ceased and aren't compatible with CI 2.0

Before I jump in the inlcuded 2.0 Unit Testing class I need to ask, have I missed out on any major developments around CI 2.0 and PHPUnit.

Any guidance greatly appreciated.

Thanks, Conor


Solution

  • A quick note to anybody interested in this. Ellis Labs are currently baking support for PHPUnit in CodeIgniter Reactor. The next release should have it.. Ref: ellislab.com/forums/viewthread/187601