Praneet Bahadur Praneet Bahadur - 8 months ago 72
PHP Question

phpunit with codeigniter3 in ubuntu

I am working with Codeigniter 3 and I installed phpunit in ubuntu but not able to use the classes of phpunit getting fatal error.

Now i want to check whether phpunit correctly installed or not?

If installed then how to use it in codeigniter application?


You can integrate PHPUnit with CodeIgniter using CIUnit. For more details on why CIUnit is required go through:

Why is CIUnit needed in order to use PHPUnit with CodeIgniter?

To know more about CIUnit visit:

Sample code to integrate codeIgniter(3) with PHPUnit: How do I use PHPUnit with CodeIgniter?

and this also may help you How do I use PHPUnit with CodeIgniter 3