• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter and Unit tests. What to use?


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

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.