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:
To know more about CIUnit visit: https://bitbucket.org/kenjis/my-ciunit/overview
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