> what are the advantages of using "ci-phpunit-test" instead of "codeception" (acceptance and functional tests) with a "ci_instance" (unit tests) that loads all the components (database, session, helpers, models, etc) ?
First of all, I recommend Codeception for acceptance tests. Our book has a chapter for it.
The advantages that I think:
* No runkit required.
* More tested by many users.
* Has more hacks for improving testablities of CodeIgniter.
* Functionality to inject mocks into controllers (functional tests).
* Has documentation (and this Book).
I'm not sure your approach has test isolation. I mean one test does not affect another test.
But if you use runkit, you can probably do whatever.