Why is CIUnit required to use PHPUnit with CodeIgniter?

We decided to use PHPUnit (with Jenkins) in our next project. We are looking at various PHP frameworks, one of which is CodeIgniter. I see that <a href = "> a lot uses My CIUNIT to " bridge " PHPUnit and Codeigniter. There is little explanation in the online documentation.

Why is this needed?

Other structures do not seem to need a "cool bridge" .

+5
source share
1 answer

Causes:

  • Codeigniter . (, , CFG).
  • Codeigniter CLI. front- index.php , -.

CIUNIT CIUNIT CI. - . - index.php, , CI. require_once $this->CI =& get_instance() SetUp(). , , CI , - . , CIUNIT .

+10

All Articles