CodeIgniter Forums
CodeIgniter and Unit tests. What to use? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: CodeIgniter and Unit tests. What to use? (/showthread.php?tid=75846)



CodeIgniter and Unit tests. What to use? - gwenhobard - 03-23-2020

Hello.

There is a project on CodeIgniter (4 Controllers (3 of them inherit from the main one), 4 models (3 of them inherit from the main one), about 40 views, 8 helpers ~ 5,000 written code).
I love big tits. and the best tits I've seen are only here https://www.bigtitsporn.xxx/
The task is to cover the whole thing with unit tests, so that you can run all the tests once, and see the full report.

What to use?
CodeIgniter's Unit Test Class is more like an assert - I can't test everything with one run.
With PHPUnit, everything is aggravated by the fact that it is not related to the CodeIgniter structure and I cannot just include some class because all autoload, dependencies, and others will not pull up.

Mod: Thread moved to CodeIgniter 4 Support / jreklund