CodeIgniter Forums
Functional test with Codeception - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Functional test with Codeception (/showthread.php?tid=63206)



Functional test with Codeception - ferran294 - 10-07-2015

Hello everyone!

I'm studying to integrate Codeception testing in my Codeigniter project. I can use the acceptance tests in my project but these are too slow and I would like to integrate functional tests but this need a module to be integrated in Codeigniter that doesn't exists Angry . Do you know if there is a hack made by the Codeigniter community or something similar? Or at least if Codeception is going to develop it or there is any good alternative? Thanks!


RE: Functional test with Codeception - sampoyigi - 10-07-2015

I also found myself searching the internet for the CodeIgniter Module for Codeception when i wanted to test a project, but i couldn't find a single one, so i settled for the Codeception acceptance test and ci-phpunit-test for the unit test, i haven't tried ci-phpunit-test yet because i'm using HMVC and i can not run both together since they both modify the CI core but i find it should work if you don't use HMVC.


RE: Functional test with Codeception - ferran294 - 10-08-2015

(10-07-2015, 10:17 PM)sampoyigi Wrote: I also found myself searching the internet for the CodeIgniter Module for Codeception when i wanted to test a project, but i couldn't find a single one, so i settled for the Codeception acceptance test and ci-phpunit-test for the unit test, i haven't tried ci-phpunit-test yet because i'm using HMVC and i can not run both together since they both modify the CI core but i find it should work if you don't use HMVC.

Thanks! I'm going to continue writting the acceptance tests with Codeception hoping a CI module appears some day to implement the functional one Sad


RE: Functional test with Codeception - Luka - 02-02-2016

Guys,

I'm adding support for Codeception's functional tests of CodeIgniter application.

You can check it out at https://github.com/luka-zitnik/CodeIgniterModule

I look forward to hearing from you.